Error:java.util.concurrent.ExecutionException: com.android.tools.aapt2.Aapt2Exception: AAPT2 error: check logs for detailsError:Execution failed for task ':app:mergeDebugResources'.Error: java.util.concurrent.ExecutionException: com.android.tools.aapt2.Aapt2Exception: AAPT2 error: check logs for details
出现这种错误只需要在项目的gradle.properties中添加下面的代码:
android.enableAapt2=false