You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
lokinet/android
Jeff Becker d750f68328
prepare for ipv6 on android
* remove 21/8 from ipv4 bogon ranges as it is being sold by DoD
* start adding ipv6 bogon ranges
3 years ago
..
res add initial jni stuff for lokinet android. i fucking hate android so god damn much. 6 years ago
src/network/loki/lokinet prepare for ipv6 on android 3 years ago
.gitignore add more stuff from builder repo 6 years ago
AndroidManifest.xml bump version for 0.8.4 3 years ago
build.gradle don't build liblokinet in android we have liblokinet-android for that 3 years ago
build.xml add more stuff from builder repo 6 years ago
proguard-project.txt add more stuff from builder repo 6 years ago
project.properties add more stuff from builder repo 6 years ago
readme.md revive android build system (#1339) 4 years ago
settings.gradle add more stuff from builder repo 6 years ago

readme.md

lokinet android

this directory contains basic stuff for lokinet on android.

Prerequsites

To build you need the following:

  • Gradle (6.x)
  • Android SDK (latest version)
  • Android NDK (latest version)

Building

Next set up the path to Android SDK and NDK in local.properties

sdk.dir=/path/to/android/sdk
ndk.dir=/path/to/android/ndk

Then build:

$ gradle assemble

This fetches a large amount (several dozen Gigabytes) of files from some server somewhere dumping it on your filesystem to make the thing do the building, then proceeds to peg all your cores for several dozen minutes while it does the required incantations to build 2 apks.

The build outputs apks to to subdirectories in build/outputs/apk/ one called debug for debug builds and one called release for release builds.