notedeck

One damus client to rule them all
git clone git://jb55.com/notedeck
Log | Files | Refs | README | LICENSE

commit 433558509f4bfe72e7df29f5044d94d6413caeb2
parent 460781d40eb955bc661ca65b3dd6df84d839efff
Author: 0xb10c <b10c@b10c.me>
Date:   Wed, 29 Nov 2023 10:57:27 +0100

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>

Diffstat:
MREADME.md | 6+++++-
Mshell.nix | 2+-
2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/README.md b/README.md @@ -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 diff --git a/shell.nix b/shell.nix @@ -25,7 +25,7 @@ mkShell ({ heaptrack - ] ++ pkgs.lib.optional use_android [ jre openssl libiconv androidsdk ] ; + ] ++ pkgs.lib.optional use_android [ jre openssl libiconv androidsdk cargo-apk ] ; LD_LIBRARY_PATH="${x11libs}"; } // (if !use_android then {} else {