Android Studio and Gradle build error

后端 未结 8 641
野性不改
野性不改 2020-11-30 22:38

I\'ve been using the new preview of android studio and really like it. But recently my project won\'t build. I get the following error:

Gradle: 
FAILURE: Bui         


        
相关标签:
8条回答
  • 2020-11-30 23:37

    I found this post helpful:

    "It can happen when res folder contains unexpected folder names. In my case after merge mistakes I had a folder src/main/res/res. And it caused problems."

    from: "https://groups.google.com/forum/#!msg/adt-dev/0pEUKhEBMIA/ZxO5FNRjF8QJ"

    0 讨论(0)
  • 2020-11-30 23:40

    OK seems like a caching issue of some sort. There was indeed an error in code with the R.id.some_id not being found but the editor was not picking it up displaying that there were no errors.

    0 讨论(0)
提交回复
热议问题