Build failing for targetSdkVersion 35 and up

What platform are you building for?

Android

What framework are you building with?

Cordova

What is your build ID?

ad62079f-8261-444b-b9d2-816c0fdcc759

What is your error message?

Execution failed for task ‘:app:processDebugResources’.

A failure occurred while executing com.android.build.gradle.internal.res.LinkApplicationAndroidResourcesTask$TaskAction
Android resource linking failed
ERROR:: AAPT: aapt2 E 08-11 11:42:03 477 477 LoadedArsc.cpp:96] RES_TABLE_TYPE_TYPE entry offsets overlap actual entry data.
aapt2 E 08-11 11:42:03 477 477 ApkAssets.cpp:149] Failed to load resources table in APK ‘/opt/android-sdk/platforms/android-35/android.jar’.
error: failed to load include path /opt/android-sdk/platforms/android-35/android.jar.

Please describe the issue:

We have a build that works for 24-34, (497b3477-e362-46b2-acc2-9933724a31e1)
but we’d like to increase our targetSdkVersion to 36 due to google’s new minimum requirements.

Build (with 35) fails: ad62079f-8261-444b-b9d2-816c0fdcc759
It is unclear what needs to be changed to ensure the build will succeed for android 35/36.

Found the solution,
“engine name=“android” spec=”****“” needs to be 14.0.1

Also see:

Follow up question:

  • When will SDK 36 become available?

When will SDK 36 become available?

We expect this to be available when Engine 15 for Android is released. This should probably occur in Spring of 2026, but it could happen sooner depending on the Cordova dev team.