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

Commit 1f09da7

Browse files
authored
Merge pull request #111 from solidsnack/master
Document NDK_HOME, build directory
2 parents 194c8a6 + ba4a1e7 commit 1f09da7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,11 @@ Before you can compile for Android, you need to setup your environment. This nee
1414
- Update the SDK: `./android-sdk-linux/tools/android update sdk -u`
1515

1616
- Install `cargo-apk` with `cargo install cargo-apk`.
17+
- Be sure to set `NDK_HOME` to the path of your NDK and `ANDROID_HOME` to the path of your SDK.
1718

1819
## Compiling
1920

20-
Run `cargo apk`.
21+
In the project root for your Android crate, run `cargo apk`.
2122

2223
This will build an Android package in `target/android-artifacts/build/bin`.
2324

0 commit comments

Comments
 (0)