Error Message:
Error:Execution failed for task ‘:app:mergeDebugResources’.
Error: java.util.concurrent.ExecutionException: com.android.tools.aapt2.Aapt2Exception: AAPT2 error: check logs for details
Performance: cant resolve symbol R
Solution: Add a line of code to the project’s gradle.properties: android.enableAapt2=false and you’re good to go!
Similar Posts:
- Android AAPT2 error: check logs for details [How to Solve]
- [Solved] Could not find method google() for arguments [] on repository container,rn react-native-camera …
- Caused by: org.gradle.api.internal.plugins.PluginApplicationException: Failed to apply plugin [id ‘com.android.internal.application’]
- [Solved] Could not find com.android.tools.build:aapt2:3.2.1-4818971.
- [Solved] Execution failed for task ‘:app:mergeDebugResources’
- Android Studio: Could not download junit.jar (junit:junit:4.12)
- Android studio import project, error e rror:Unsupported method : BaseConfig.getApplicationIdSuffix().
- [Solved] com.android.builder.internal.aapt.v2.Aapt2Exception: Android resource linking failed
- Flutter: Android dependency ‘com.android.support:support-v4’ has different version …
- “Cannot resolve symbol R” in Android studio