Skip to content

Roboron3042/simutrans-android-cmake

Repository files navigation

simutrans-android-cmake

  1. Clone this repository

git clone [email protected]:Roboron3042/simutrans-android-cmake.git

  1. Install Android requirements
  • openjdk-17
  • commandline tools (for sdkmanager)
  • sdkmanager --install "platform-tools"
  • sdkmanager --install "build-tools;33.0.1"
  • sdkmanager --install "cmake;3.22.1"
  • sdkmanager --install "ndk;25.1.8937393"
  1. Build (adjusting variables)

JAVA_HOME=/usr/lib/jvm/java-17-openjdk ANDROID_HOME=/opt/android-sdk ANDROID_NDK=/opt/android-sdk/ndk/25.1.8937393 ./prepareAndBuild.sh