Search code examples
androidandroid-studioandroid-gradle-pluginandroid-build

How to deal with the error: /Users/simo/.gradle/daemon/6.5/app/src/main/res/values-v21/styles.xml (No such file or directory)


I downloaded an Android app project from Github, and when I opened it with Android Studio, the following error occurs: Event Log:

Gradle sync failed: /Users/simo/.gradle/daemon/6.5/app/src/main/res/values-v21/styles.xml (No such file or directory)

Can someone explain to me the nature of the problem and how to fix it ?


Solution

  • My wild guess would be, that there is no file "styles.xml" in this folder. Maybe u can post the github repo?