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

Commit c37ac76

Browse files
authored
Merge pull request #222 from atouchet/patch-1
Update Readme
2 parents 766ad85 + 5865bc9 commit c37ac76

File tree

1 file changed

+8
-11
lines changed

1 file changed

+8
-11
lines changed

README.md

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
# Usage
44

5-
## With docker
5+
## With Docker
66

7-
The easiest way to compile for Android is to use [docker](https://www.docker.com/) and the
7+
The easiest way to compile for Android is to use [Docker](https://www.docker.com/) and the
88
[tomaka/cargo-apk](https://hub.docker.com/r/tomaka/cargo-apk/) image.
99

1010
In order to build an APK, simply do this:
@@ -30,17 +30,14 @@ After the build is finished, you should get an Android package in `target/androi
3030

3131
Before you can compile for Android, you need to setup your environment. This needs to be done only once per system.
3232

33-
- Install [`rustup`](http://rustup.rs).
33+
- Install [`rustup`](https://rustup.rs/).
3434
- Run `rustup target add arm-linux-androideabi`, or any other target that you want to compile to.
35-
36-
- Install the Java JDK (on Ubuntu, `sudo apt-get install openjdk-8-jdk`)
37-
- Install CMake (on Ubuntu, `sudo apt-get install cmake`)
35+
- Install the Java JDK (on Ubuntu, `sudo apt-get install openjdk-8-jdk`).
36+
- Install CMake (on Ubuntu, `sudo apt-get install cmake`).
3837
- [Install Gradle](https://gradle.org/install/).
39-
40-
- Download and unzip [the Android NDK](http://developer.android.com/tools/sdk/ndk/index.html)
41-
- Download and unzip [the Android SDK](http://developer.android.com/sdk/index.html) (under *SDK Tools Only* at the bottom)
42-
- Install some components in the SDK: `./android-sdk/tools/bin/sdkmanager "platform-tools" "platforms;android-18" "build-tools;26.0.1"`
43-
38+
- Download and unzip [the Android NDK](https://developer.android.com/ndk).
39+
- Download and unzip [the Android SDK](https://developer.android.com/studio).
40+
- Install some components in the SDK: `./android-sdk/tools/bin/sdkmanager "platform-tools" "platforms;android-18" "build-tools;26.0.1"`.
4441
- Install `cargo-apk` with `cargo install cargo-apk`.
4542
- Set the environment variables `NDK_HOME` to the path of the NDK and `ANDROID_HOME` to the path of the SDK.
4643

0 commit comments

Comments
 (0)