build: remove buildToolsVersion to prevent warning messages and added ndkVersion to build.gradle since is the recommended way to set NDK version

This way github workflow works correctly, also ndk.dir is deprecated since AGP 4.0

Refs: https://github.com/android/ndk-samples/wiki/Configure-NDK-Path#introduction
This commit is contained in:
Emanuele Disco 2023-02-07 13:13:20 +09:00
parent 82fe125116
commit 33924412ad

View file

@ -50,10 +50,11 @@ android {
packagingOptions {
exclude 'lib/arm64-v8a/libopenxr_loader.so'
}
ndkVersion = "21.4.7075529"
compileSdkVersion = 24
buildToolsVersion = '29.0.1'
/* buildTypes {
release {
debuggable true