Saturday, November 29, 2025
spot_img

Unable to construct AAB/APK with (Android 15 API Stage 35) – Cocos Creator


Hello guys,

I get the error under once I add my .aab file to Google Play Console.

Google Play Console – Error message
Your app presently targets API stage 34 and should goal a minimum of API stage 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://providers.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 advisable NDK model is 23.2.8568313 which my Coco Creator venture is presently utilizing. I simply don’t know find out how to resolve this subject round API Stage 35, as I’ve tried many options.

Can somebody please assist or level me in the suitable course?
What’s the method for constructing a .aab/apk file utilizing Android 15 API stage 35?

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisement -spot_img

Latest Articles