ZoomTen / hb-strife-2024

Nim + Raylib = Awesomesauce

Home Page:https://zoomten.github.io/hb-strife-2024/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Building for Android

  1. Get the SDK (scroll down to Command line tools only). Extract the SDK to somewhere like ~/android/sdk. Set ANDROID_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
  1. Get the NDK. Extract the NDK to somewhere like ~/android/ndk. Set ANDROID_NDK to this directory.
  2. Set ANDROID_BUILD_TOOLS to the build tools directory, in this case $ANDROID_SDK/build-tools/34.0.0.
  3. Check config.nims, in particular tcDir.
  4. 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
  1. Check strife30.nimble. Set keystoreFile, storePass, keyPass, keyAlias accordingly.
  2. Run nimble apk.

About

Nim + Raylib = Awesomesauce

https://zoomten.github.io/hb-strife-2024/


Languages

Language:Nim 93.4%Language:HTML 5.6%Language:Java 1.1%