From b4cf84a06e28e0f2e0dc42a37271138c47092a74 Mon Sep 17 00:00:00 2001 From: Andreas Streichardt Date: Thu, 26 Nov 2020 07:34:43 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20use=20gradlew?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- BUILD.md | 8 +++++--- android/gradlew | 0 2 files changed, 5 insertions(+), 3 deletions(-) mode change 100644 => 100755 android/gradlew 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