add cargo-apk and aarch64-linux-android target

I tried the nix-shell and that's what was missing for me to build the
apk. The desktop app worked out of the box.

Closes: https://github.com/damus-io/android/pull/1
Reviewed-by: William Casarin <jb55@jb55.com>
Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
0xb10c
2023-11-29 10:57:27 +01:00
committed by William Casarin
parent 460781d40e
commit 433558509f
2 changed files with 6 additions and 2 deletions

View File

@@ -16,7 +16,11 @@ Once you have your dev shell setup, you can build with this command:
$ cargo apk run --release
```
This will build and run the app on your android device.
This will build and run the app on your android device. If you don't have the `aarch64-linux-android` rust target yet, you can install it with:
```
$ rustup target add aarch64-linux-android
```
You can also just type