- Get the SDK (scroll down to Command line tools only). Extract the SDK to somewhere like
~/android/sdk
. SetANDROID_SDK
to this directory.
pushd $ANDROID_SDK/bin
./sdkmanager --update --sdk_root=$ANDROID_SDK
./sdkmanager --install "build-tools;34.0.0" --sdk_root=$ANDROID_SDK
./sdkmanager --install "platform-tools" --sdk_root=$ANDROID_SDK
./sdkmanager --install "platforms;android-23" --sdk_root=$ANDROID_SDK
popd
- Get the NDK. Extract the NDK to somewhere like
~/android/ndk
. SetANDROID_NDK
to this directory. - Set
ANDROID_BUILD_TOOLS
to the build tools directory, in this case$ANDROID_SDK/build-tools/34.0.0
. - Check
config.nims
, in particulartcDir
. - Generate a keystore using
keytool
, which should come with Java I think:
keytool -genkeypair -validity 1000 \
-dname "CN=Android,O=Android,C=US" \
-keystore Android.keystore \
-storepass 'android' \
-keypass 'android' \
-alias testKey \
-keyalg RSA
- Check
strife30.nimble
. SetkeystoreFile
,storePass
,keyPass
,keyAlias
accordingly. - Run
nimble apk
.