setContentView(R.layout.activity_main);

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:

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