Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

AAPT2 link failed Crashlytics

Updated to Android studio 3 and am now getting the following error

Error:/app/build/intermediates/res/merged/debug/values/com_crashlytics_build_id.xml uncompiled XML file passed as argument. Must be compiled first into .flat file.

Error:java.util.concurrent.ExecutionException: com.android.builder.internal.aapt.AaptException: AAPT2 link failed:

like image 742
MobileMon Avatar asked Jul 20 '17 18:07

MobileMon


1 Answers

Try adding:

android.enableAapt2 = false

to your gradle.properties file.

This enabled me to continue building my project with Crashlytics 2.6.8 on Android Studio 3 beta2.

like image 73
Shaun Avatar answered Oct 18 '22 00:10

Shaun