AAPT2 Crashlytics Communication Error

Updated to Android 3 studio and now I get the following error

Error: /app/build/intermediates/res/merged/debug/values/com_crashlytics_build_id.xml uncompiled XML file passed as an argument. First you need to compile the .flat file.

Error: java.util.concurrent.ExecutionException: com.android.builder.internal.aapt.AaptException: AAPT2 communication error:

+6
source share
1 answer

Try adding:

android.enableAapt2 = false

to your gradle.propertiesfile.

This allowed me to continue building my project with Crashlytics 2.6.8 on Android Studio beta 3.

+14
source

All Articles