A wnfslib wrapper for Android.
Use Ubuntu (on Windows it complains about openssl)
- Kotlin toolchain
- Android SDK + NDK (latest)
- python3 and Python command available
- Cargo and CMake
- java
- gradle
- rustup target add armv7-linux-androideabi aarch64-linux-android i686-linux-android x86_64-linux-android
Make sure you have switch to debug profile in cargo config, which could be found at lib/build.gradle
Run the command to build
./gradlew lib:assembleConnect to a device or setup an AVD and check the functionality.
./gradlew appmock:connectedCheckBefore make a release build, ensure you have set profile = "release" in cargo config.
./gradlew lib:assembleThe generated release build is lib/build/outputs/aar/lib-release.aar
Ensure you have committed your changes.
./gradlew releaseThen simply push to the repo.