报错提示:

Error:Execution failed for task ':app:mergeDebugResources'.
Error: java.util.concurrent.ExecutionException: com.android.tools.aapt2.Aapt2Exception: AAPT2 error: check logs for details

 

具体表现:cant resolve symbol R

解决方案:在项目的gradle.properties中添加一行代码: android.enableAapt2=false 就好了

原因:我也不知道

posted on 2018-04-24 20:30  三分零一秒  阅读(2453)  评论(0编辑  收藏  举报