First, state that there are several reasons for this error
Here are my personal solutions to this error:
1. First, find gradle Properties file, open
2. Write “Android” in the space After enableaapt2 = false, click sync now
3. Errors will occur after synchronization. Don’t worry. Delete what you wrote and synchronize again
There is no problem running after resynchronization (personal situation)
Read More:
- Android Package Error: AAPT: error: IDAT: incorrect data check. AAPT: error: file failed to compile.
- [Solved] Android Gradle Build Error: Some file crunching failed, see logs for details
- Unable to import maven project: See logs for details [Solved]
- Redis Error: (error) ERR Errors trying to SHUTDOWN. Check logs.
- [Solved] Redis Execute redis-cli shutdown Error: (error) ERR Errors trying to SHUTDOWN. Check logs.
- [Solved] Arm Server kibana7.4.1 Error: Sending Logstash logs to /home/logstash-6.8.4/logs which is now configured via log4j2.properties
- Aapt Remove Command error during crunch – archive is toast
- [Solved] AAPT: error: resource android:attr/lStar not found
- [Solved] Flutter – AAPT: error: resource android:attr/dialogCornerRadius not found.
- [Solved] Android Studio Error: AAPT: error: file failed to compile
- [Solved] Manifest merger failed with multiple errors, see logs
- [Solved] Manifest merger failed with multiple errors, see logs
- [Solved] Compile Error: AAPT: error: resource android:attr/lStar not found
- Kafka Creates and Writes Logs Error [How to Solve]
- [Solved] Manifest merger failed with multiple errors, see logs
- Manifest merger failed with multiple errors, see logs [How to Solve]
- [Solved] Android Studio Manifest merger failed with multiple errors, see logs
- [Solved] Android Error: AAPT: error: unescaped apostrophe in string;Multiple substitutions specified in non-positi
- AAPT: error: attribute cardBackgroundColor (aka com.x.x:cardBackgroundColor) not found.
- [Solved] SSM Project Error: Error during artifact deployment. See server log for details.