1

When I try to run My project in Android 14 ,I noticed one error like

AAPT2 process unexpectedly exit. Error output: aapt2.exe W 05-04 15:56:18 7008 7396 LoadedArsc.cpp:682] Unknown chunk type '200'.

android {

     compileSdkVersion = "android-UpsideDownCake"
    dataBinding {
        enabled = true
    }

    defaultConfig {
        applicationId "com.pro.sample"
        minSdkVersion 23

        targetSdkVersion "android-UpsideDownCake"
        versionCode 84
        versionName "5.7"
        testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
        ndk {
            debugSymbolLevel 'FULL'
        }
        ndkVersion "25.2.9519653"
    }
}

This is my App level gradle file, how can I this ?

1 Answers1

0

The build tools are always a little bit behind -- how much depends on the dev environment you use (Android Studio, Delphi, Cordova, Xamarin etc). For detailed background info see the Stackoverflow Thread "AAPT2 warning about Unknown chunk type".

Nothing bad should happen, and the build should still finish properly. Note, that this is not an error, but a warning (marked in the message by the W after aapt2.exe).

The only thing you can do for now, AFAIK, is to reduce the targetSdkVersion till this message disappears. One or two API levels schould be enough.

Krokomot
  • 3,208
  • 2
  • 4
  • 20