setContentView(R.layout.activity_main);


(yinon shoshani) #1

hello friends.
I am new with android studio and i updated it to the new version , so now the R is red.
Error:java.util.concurrent.ExecutionException: com.android.tools.aapt2.Aapt2Exception: AAPT2 error: check logs for details
Error:Execution failed for task ‘:app:mergeDebugResources’.

Error: java.util.concurrent.ExecutionException: com.android.tools.aapt2.Aapt2Exception: AAPT2 error: check logs for details

what can i do , didn’t find an answer at stack over flow, hope that someone can help me.
txs in advance :slight_smile:


(Rene) #2

This Error is fixed in Gradle Plugin 3.2.0.
Just try to migrate to 3.2.0 in your build.gradle file by changing this line classpath 'com.android.tools.build:gradle:3.2.0-alpha11'.
Your Android Studio should do the rest