Creating Endless-Mobile Debug Build
November 25, 2025 ยท View on GitHub
Initial Setup
- Run the download_build_dependencies.sh script to download and unpack the SDL2, turbojpeg, and png dependencies.
- Set the ANDROID_SDK_ROOT environment variable.
Linux
- Run
gradlew buildDebugfrom the android directory - Run
gradlew buildfrom the android directory.
Windows
- Run the convert_linux_links_to_windows_links.ps1 to change the project's symbolic links to a Windows format
- Run
gradlew.bat buildDebugfrom the android directory - Run
gradlew.bat buildfrom 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 installDebugorgradlew.bat installDebug - To uninstall, run
gradlew uninstallDebugorgradlew.bat uninstallDebug
- To install, run