Set the environment variable:
ANDROID_SDK_ROOT="path/to/Android/Sdk/"
$ git clone https://github.com/nikhilmwarrier/anthology && cd anthology
$ just init
This installs the dependencies using pnpm.
It also configures the hooks in the .githooks/ directory, which may help
catch mistakes before you commit them.
$ just build_debug
The APK will be generated to ./android/app/build/outputs/apk/debug/app-debug.apk.
Set the following environment variables (or put them in a .env file).
RELEASE_STORE_FILE="my_keystore.jks" # Relative to ./android/app/
RELEASE_STORE_PASSWORD="my_keystore_password"
RELEASE_KEY_ALIAS="my_key_alias"
RELEASE_KEY_PASSWORD="my_key_password"
And then run:
$ just build_release
The signed APK will be generated to ./android/app/build/outputs/apk/release/app-release.apk.
You can support Anthology's development through my BuyMeACoffee page.