You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 3, 2020. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,7 +31,11 @@ After the build is finished, you should get an Android package in `target/androi
31
31
Before you can compile for Android, you need to setup your environment. This needs to be done only once per system.
32
32
33
33
- 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`
35
39
- Install the Java JRE or JDK (on Ubuntu, `sudo apt-get install openjdk-8-jdk`).
36
40
- Download and unzip [the Android NDK](https://developer.android.com/ndk).
37
41
- Download and unzip [the Android SDK](https://developer.android.com/studio).
0 commit comments