報錯提示:
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 就好了
原因:我也不知道
