Skip to content
This repository was archived by the owner on Jul 3, 2020. It is now read-only.

Commit 611c140

Browse files
Updated readme with build target instructions.
1 parent 8d671ed commit 611c140

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,11 @@ After the build is finished, you should get an Android package in `target/androi
3131
Before you can compile for Android, you need to setup your environment. This needs to be done only once per system.
3232

3333
- Install [`rustup`](https://rustup.rs/).
34-
- Run `rustup target add arm-linux-androideabi`, or any other target that you want to compile to.
34+
- Run `rustup target add <target>` for all supported targets to which you want to compile. Building will attempt to build for all supported targets unless the build targets are adjusted via `Cargo.toml`.
35+
- `rustup target add armv7-linux-androideabi`
36+
- `rustup target add aarch64-linux-android`
37+
- `rustup target add i686-linux-android`
38+
- `rustup target add x86_64-linux-android`
3539
- Install the Java JRE or JDK (on Ubuntu, `sudo apt-get install openjdk-8-jdk`).
3640
- Download and unzip [the Android NDK](https://developer.android.com/ndk).
3741
- Download and unzip [the Android SDK](https://developer.android.com/studio).

0 commit comments

Comments
 (0)