1
1
Fork 0
mirror of https://github.com/oxen-io/lokinet synced 2023-12-14 06:53:00 +01:00
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
2021-04-26 10:40:10 -04:00
..
res add initial jni stuff for lokinet android. i fucking hate android so god damn much. 2018-11-26 17:46:22 -05:00
src/network/loki/lokinet prepare for ipv6 on android 2021-04-26 10:40:10 -04:00
.gitignore add more stuff from builder repo 2018-10-23 07:45:14 -04:00
AndroidManifest.xml bump version for 0.8.4 2021-03-09 07:51:37 -05:00
build.gradle don't build liblokinet in android we have liblokinet-android for that 2021-04-19 06:55:36 -04:00
build.xml add more stuff from builder repo 2018-10-23 07:45:14 -04:00
proguard-project.txt add more stuff from builder repo 2018-10-23 07:45:14 -04:00
project.properties add more stuff from builder repo 2018-10-23 07:45:14 -04:00
readme.md revive android build system (#1339) 2020-09-22 15:04:15 -04:00
settings.gradle add more stuff from builder repo 2018-10-23 07:45:14 -04:00

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.