Hello guys,
I get the error under once I add my .aab file to Google Play Console.
Google Play Console – Error messageYour app at the moment targets API degree 34 and should goal not less than API degree 35 to make sure it's constructed on the newest APIs optimized for safety and efficiency.
So I upgraded the next in (gradle.properties) file.
PROP_COMPILE_SDK_VERSION=35
PROP_TARGET_SDK_VERSION=35
I additionally upgraded (construct.gradle) script
dependencies {
classpath "com.android.instruments.construct:gradle:8.7.0"
}
and eventually, (gradle-wrapper.properties) file
distributionUrl=https://companies.gradle.org/distributions/gradle-8.9-bin.zip
I’m utilizing
- Android Studio Narwhal
- Cocos Creator 3.8.5
- JDK 17
However I’m unable to construct a .aab/apk file as I’m getting the error under.
[CXX1100] android.ndkVersion is [27.0.12077973] however android.ndkPath C:UsersgregAppDataLocalAndroidSdkndk23.2.8568313 refers to a unique model [23.2.8568313].
I do know the beneficial NDK model is 23.2.8568313 which my Coco Creator venture is at the moment utilizing. I simply don’t know how one can resolve this concern round API Degree 35, as I’ve tried many options.
Can somebody please assist or level me in the fitting course?
What’s the method for constructing a .aab/apk file utilizing Android 15 API degree 35?
Verify the PROP_NDK_PATH in gradle.properties.
I modified it from the ndk-bundle folder to the specified ndk folder.
It ended up trying one thing like this:
#PROP_NDK_PATH=C:Customers[your user]AppDataLocalAndroidSdkndk-bundle
PROP_NDK_PATH=C:Customers[your user]AppDataLocalAndroidSdkndk26.1.10909125
Right here it labored for that final error, however I don’t understand how the Play Console will react.


