Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yggdrasil-network/yggdrasil-android
Reference implementation for connecting to the Yggdrasil Network from Android devices
https://github.com/yggdrasil-network/yggdrasil-android
android kotlin yggdrasil yggdrasil-network
Last synced: 2 months ago
JSON representation
Reference implementation for connecting to the Yggdrasil Network from Android devices
- Host: GitHub
- URL: https://github.com/yggdrasil-network/yggdrasil-android
- Owner: yggdrasil-network
- License: mit
- Created: 2021-06-16T18:21:54.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-10-23T17:11:34.000Z (3 months ago)
- Last Synced: 2024-10-23T22:02:39.291Z (3 months ago)
- Topics: android, kotlin, yggdrasil, yggdrasil-network
- Language: Kotlin
- Homepage:
- Size: 11.3 MB
- Stars: 123
- Watchers: 13
- Forks: 19
- Open Issues: 21
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
## build instructions
* install gomobile
```bash
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/
```