Skip to content

Commit 43d8787

Browse files
author
Mauve Signweaver
committed
docs: Add instructions for building for Android
1 parent 2937e09 commit 43d8787

2 files changed

Lines changed: 15 additions & 1 deletion

File tree

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Save-Rust
2+
3+
Bindings to the save-dweb-backend for the Save Android app.
4+
5+
## Requirements
6+
7+
- Install the Android SDK and Android Platform 34
8+
- Install android NDK on your system
9+
- Install Rust
10+
- `cargo install cargo-ndk`
11+
- Have `save-android` set up in the parent folder
12+
- Set up the `ANDROID_NDK_HOME` variable
13+
- `./build-android.sh`
14+
- You can now recompile the android app.

build-android.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ mkdir -p $BUILD_DIR
88
cd $BUILD_DIR
99

1010
# Create the jniLibs build directory
11-
JNI_DIR=$HOME/Projects/save-android/app/src/main/jniLibs
11+
JNI_DIR=../../save-android/app/src/main/jniLibs
1212
mkdir -p $JNI_DIR
1313

1414
# Make sure we're on the latest all the time

0 commit comments

Comments
 (0)