Merge pull request #782 from m0ppers/feature/use-gradlew

📝 use gradlew
This commit is contained in:
Sascha Willems 2021-01-29 19:14:53 +01:00 committed by GitHub
commit 0d732cc4a4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 3 deletions

View file

@ -25,13 +25,15 @@ Use the provided CMakeLists.txt with [CMake](https://cmake.org) to generate a bu
## <img src="./images/androidlogo.png" alt="" height="32px"> [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.

0
android/gradlew vendored Normal file → Executable file
View file