Skip to content

Latest commit

 

History

History
51 lines (33 loc) · 970 Bytes

Readme.md

File metadata and controls

51 lines (33 loc) · 970 Bytes

WNFS-lib For Android

A wnfslib wrapper for Android.

Prerequisites

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

Debug

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:assemble

Connect to a device or setup an AVD and check the functionality.

./gradlew appmock:connectedCheck

Build

Before make a release build, ensure you have set profile = "release" in cargo config.

./gradlew lib:assemble

The generated release build is lib/build/outputs/aar/lib-release.aar

Publish New Version

Ensure you have committed your changes.

./gradlew release

Then simply push to the repo.