Minimal Go app
This is a simple Android Go app template.
Install the latest Android SDK or extract the Android SDK command line tools into your preferred Android SDK root (available as archive at https://developer.android.com/studio/index.html, see bottom of page).
Make sure you have the
$ANDROID_HOMEenvironment variable set to the Android SDK root (default is
android is a standard NDK project that has the
as well gradle build files and the shared library we will built as a
Change to the
examples/minimal directory and run
to build an APK ready for deployment.
../build-android.sh && (adb uninstall com.go_android.minimal; adb install android/app-debug.apk) && adb logcat -c && adb logcat | grep "GolangExample:" to build the apk and then install and test on a connected device.
Delete the gradle build folders
android/app/src/jniLibs, which contains the compiled shared libraries.
There is no documentation for this package.