AAPT2 process unexpectedly exit. Error output: aapt2.exe W 05-09 12:52:24 5324 1504 LoadedArsc.cpp:682] Unknown chunk type '200'

When I try to update App Target version is Android 14 which is “UpsideCakeDown” and I got error like

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ‘:app:processDebugResources’.

A failure occurred while executing com.android.build.gradle.internal.res.LinkApplicationAndroidResourcesTask$TaskAction
AAPT2 aapt2-4.2.2-7147631-windows Daemon #0: Unexpected error during link, attempting to stop daemon.
This should not happen under normal circumstances, please file an issue if it does.

dependencies {
classpath ‘com.android.tools.build:gradle:4.2.1’
classpath “org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version”
classpath ‘com.google.gms:google-services:4.3.15’
}

This is the gradle version I’m using

meet same problem, did u solve it?
AGP version 4.0.2
Gradle version 6.1.1
kotlin version 1.6.21