Hi there,
I want to start development with AndroidStudio.
When opening the project from the Projucer, AndroidStudio shows me this error message after the first Build
For the NDK, I added ndkVersion ‘22.0.7026061’ in the “Extra module’s build.gradle content” but I have an error that persists
In this topic, I saw that we could add in the build.gradle
android.ndk {
moduleName = "juce_jni"
//toolchain = "clang"
toolchain = "gcc"
//stl = "c++_static"
stl = "gnustl_static"
In my build.gradle, there is something that look like this
defaultConfig {
applicationId "com.yourcompany.newproject"
minSdkVersion 23
targetSdkVersion 29
externalNativeBuild {
cmake {
arguments "-DANDROID_TOOLCHAIN=gcc",
"-DANDROID_PLATFORM=android-23",
"-DANDROID_STL=gnustl_static",
"-DANDROID_CPP_FEATURES=exceptions rtti",
"-DANDROID_ARM_MODE=arm",
"-DANDROID_ARM_NEON=TRUE",
"-DCMAKE_CXX_STANDARD=14",
"-DCMAKE_CXX_EXTENSIONS=OFF"
}
}
}
How can i fix this error?
Thank you