Creating Endless-Mobile Debug Build

November 25, 2025 ยท View on GitHub

Initial Setup

  1. Run the download_build_dependencies.sh script to download and unpack the SDL2, turbojpeg, and png dependencies.
  2. Set the ANDROID_SDK_ROOT environment variable.

Linux

  1. Run gradlew buildDebug from the android directory
  2. Run gradlew build from the android directory.

Windows

  1. Run the convert_linux_links_to_windows_links.ps1 to change the project's symbolic links to a Windows format
  2. Run gradlew.bat buildDebug from the android directory
  3. Run gradlew.bat build from the android directory.

Notes

  • If gradle notifies you that you are missing the required ndk version, then install it via the sdk manager, and try again.
  • Debug apk location
    • Linux: endless-mobile/android/app/build/outputs/apk/debug/app-debug.apk
    • Windows: endless-mobile\android\app\build\outputs\apk\debug\app-debug.apk
  • Builds can be installed directly to an attached Android device or emulator
    • To install, run gradlew installDebug or gradlew.bat installDebug
    • To uninstall, run gradlew uninstallDebug or gradlew.bat uninstallDebug