[[TOC]]
-
Clone the repo using
git clone --recurse-submodules <repo>
or update submodules usinggit submodule update --init --recursive
-
Run
docker run --rm -v ${PWD}:/build -w /build lihansey/android_ndk_go_rust_swift_crossplatform ./gradlew assembleDebug
List of circleci/android:api-XXX
-
shadowsocks/shadowsocks-android
# 1) git clone project git clone --recurse-submodules https://github.com/shadowsocks/shadowsocks-android ~/dev_kit/src_code/shadowsocks/shadowsocks-android # 2) cd cd ~/dev_kit/src_code/shadowsocks/shadowsocks-android # 3) build apk by docker docker run --rm -v ${PWD}:/build -w /build lihansey/android_ndk_go_rust_swift_crossplatform ./gradlew assembleDebug
-
Create a
demo_hello_world_android
project byAndroid Studio
-_-||# 1) git clone project git clone --recurse-submodules https://github.com/Guang1234567/android_ndk_go_rust_swift_crossplatform ~/dev_kit/src_code/android_ndk_go_rust_swift_crossplatform # 2) cd cd ~/dev_kit/src_code/android_ndk_go_rust_swift_crossplatform/example # 3) build apk by docker docker run --rm -v ${PWD}:/build -w /build lihansey/android_ndk_go_rust_swift_crossplatform ./gradlew assembleDebug # 4) if build successful ╰─ docker run --rm -v ${PWD}:/build -w /build lihansey/android_ndk_go_rust_swift_crossplatform ./gradlew assembleDebug ... > Task :app:mergeDebugJniLibFolders > Task :app:mergeProjectDexDebug > Task :app:validateSigningDebug > Task :app:mergeDebugNativeLibs > Task :app:stripDebugDebugSymbols > Task :app:mergeExtDexDebug > Task :app:packageDebug > Task :app:assembleDebug BUILD SUCCESSFUL in 9m 6s 25 actionable tasks: 25 executed # adb install apk to your android device adb install app/build/outputs/apk/debug/app-debug.apk