diff --git a/BUILD.md b/BUILD.md index c99b7c74..103acb37 100644 --- a/BUILD.md +++ b/BUILD.md @@ -25,13 +25,15 @@ Use the provided CMakeLists.txt with [CMake](https://cmake.org) to generate a bu ## [Android](android/) -Building on Android is done using the [Gradle Build Tool](https://gradle.org/). Put the ```bin``` directory of it somewhere in your path and from the root of the repository run: +Building on Android is done using the [Gradle Build Tool](https://gradle.org/): ``` cd android -gradle assembleDebug +./gradlew assembleDebug ``` -This will build all samples and output the apks to ```android\examples\bin```. +This will download gradle locally, build all samples and output the apks to ```android\examples\bin```. + +On Windows execute `gradlew.bat assembleDebug`. If you want to build and install on a connected device or emulator image, run ```gradle installDebug``` instead. diff --git a/android/gradlew b/android/gradlew old mode 100644 new mode 100755