Android build tool update (#1160)
* Update to latest Android build tools ALooper_pollAll is deprecated * Update to latest Android build tools ALooper_pollAll is deprecated * Update to latest Android build tools Update manifests * Update to latest Android build tools ALooper_pollAll is deprecated * Update build instructions for Android
This commit is contained in:
parent
380ac448ab
commit
a734964b21
100 changed files with 302 additions and 289 deletions
8
BUILD.md
8
BUILD.md
|
|
@ -32,9 +32,11 @@ 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/):
|
||||
Building on Android is done using the [Gradle Build Tool](https://gradle.org/).
|
||||
|
||||
If you want to build it through command line, set Android SDK/NDK by environment variable `ANDROID_SDK_ROOT`/`ANDROID_NDK_HOME`.
|
||||
**The recommended way** is building via [Android Studio](https://developer.android.com/studio). Simply open the project folder ```android```, build and after that you can select the sample you want to run from the project list.
|
||||
|
||||
If you want to build it via the command line, set Android SDK/NDK by environment variable `ANDROID_SDK_ROOT`/`ANDROID_NDK_HOME`.
|
||||
|
||||
On Linux execute:
|
||||
|
||||
|
|
@ -48,8 +50,6 @@ On Windows execute ```gradlew.bat assembleDebug```.
|
|||
|
||||
If you want to build and install on a connected device or emulator image, run ```gradle installDebug``` instead.
|
||||
|
||||
If you want to build it through [Android Studio](https://developer.android.com/studio), open project folder ```android``` in Android Studio.
|
||||
|
||||
### <img src="./images/applelogo.png" alt="" height="32px"> macOS and iOS
|
||||
|
||||
**Note:** Running these examples on macOS and iOS requires [**MoltenVK**](https://github.com/KhronosGroup/MoltenVK) and a device that supports the *Metal* api.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue