diff --git a/README.md b/README.md index 8b4767bc..7a0eb5ea 100644 --- 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 index a3301c0f..ae9617d8 100644 --- 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 {