Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zoomten/hb-strife-2024
Nim + Raylib = Awesomesauce
https://github.com/zoomten/hb-strife-2024
Last synced: about 6 hours ago
JSON representation
Nim + Raylib = Awesomesauce
- Host: GitHub
- URL: https://github.com/zoomten/hb-strife-2024
- Owner: ZoomTen
- Created: 2024-05-04T15:35:48.000Z (7 months ago)
- Default Branch: master
- Last Pushed: 2024-05-12T22:28:15.000Z (6 months ago)
- Last Synced: 2024-05-12T23:26:40.464Z (6 months ago)
- Language: Nim
- Homepage: https://zoomten.github.io/hb-strife-2024/
- Size: 8.15 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Building for Android
1. [Get the SDK](https://developer.android.com/studio) (scroll down to **Command line tools only**). Extract the SDK to somewhere like `~/android/sdk`. Set `ANDROID_SDK` to this directory.
2.
```
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
```
3. [Get the NDK](https://developer.android.com/ndk/downloads/). Extract the NDK to somewhere like `~/android/ndk`. Set `ANDROID_NDK` to this directory.
4. Set `ANDROID_BUILD_TOOLS` to the build tools directory, in this case `$ANDROID_SDK/build-tools/34.0.0`.
5. Check `config.nims`, in particular `tcDir`.
6. 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
```
7. Check `strife30.nimble`. Set `keystoreFile`, `storePass`, `keyPass`, `keyAlias` accordingly.
8. Run `nimble apk`.