Reference implementation for connecting to the Yggdrasil Network from Android devices
Find a file
Revertron 8dfa2f638a
One fix and updates for F-Droid. (#50)
Fixed password getter (crashes for old configs).
Changed publishing material for F-Droid.
Incremented version.
2023-10-29 14:42:37 +01:00
.github/workflows Upload artifacts to releases in CI 2022-10-30 22:39:15 +00:00
app One fix and updates for F-Droid. (#50) 2023-10-29 14:42:37 +01:00
fastlane/metadata/android One fix and updates for F-Droid. (#50) 2023-10-29 14:42:37 +01:00
gradle/wrapper Changes for updating to Yggdrasil 0.5. (#49) 2023-10-28 23:31:32 +02:00
libs One fix and updates for F-Droid. (#50) 2023-10-29 14:42:37 +01:00
.gitignore CI 2022-10-29 23:26:14 +01:00
.gitmodules Added fastlane meta for inclusion in F-Droid, incremented version, fixed 1 string. (#35) 2022-11-23 14:23:54 +01:00
build.gradle Changes for updating to Yggdrasil 0.5. (#49) 2023-10-28 23:31:32 +02:00
gradle.properties Initial commit 2021-06-16 19:21:09 +01:00
gradlew Initial commit 2021-06-16 19:21:09 +01:00
gradlew.bat Initial commit 2021-06-16 19:21:09 +01:00
LICENSE MIT License 2022-10-30 22:14:13 +00:00
readme.md Added DNS configuration functionality. (#24) 2022-10-30 21:14:30 +00:00
settings.gradle Initial commit 2021-06-16 19:21:09 +01:00

build instructions

  • install gomobile
go install golang.org/x/mobile/cmd/gomobile@latest
  • build yggdrasil-go for android:
git clone https://github.com/yggdrasil-network/yggdrasil-go /tmp/yggdrasil-go
cd /tmp/yggdrasil-go
./contrib/mobile/build -a
  • clone yggdrasil for android and copy over the built go library
git clone https://github.com/yggdrasil-network/yggdrasil-android /tmp/yggdrasil-android
mkdir /tmp/yggdrasil-android/app/libs
cp /tmp/yggdrasil-go/yggdrasil.aar /tmp/yggdrasil-android/app/libs/
  • build yggdrasil-android
cd /tmp/yggdrasil-android
./gradlew assembleRelease

note: you will need to use jdk-11 as jdk-16 "doesn't work" ™

on debian/ubuntu you can set which jdk used with the JAVA_HOME env var:

export JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64/