resource error in android studio after update: No Resource Found

后端 未结 14 1118
别跟我提以往
别跟我提以往 2020-12-23 09:13

After a recent update to Android Studio, we\'re having problems getting a project to compile that previously worked. At first we were getting the following error:

         


        
相关标签:
14条回答
  • 2020-12-23 09:40

    in your projects build.gradle file... write as below.. i have solved that error by change the appcompat version from v7.23.0.0 to v7.22.2.1..

    dependencies
    

    {

    compile fileTree(dir: 'libs', include: ['*.jar'])
    compile 'com.android.support:appcompat-v7:22.2.1'
    

    }

    0 讨论(0)
  • 2020-12-23 09:42

    First of all,

    Try to check your SDK folder, for me, it was mydocuments/appdata/sdk.... etc. So basically my sdk folder was not fully downloaded, the source of this problem mainly. You have to either use another fully downloaded android sdk(including Tools section and extras that you really need) or use the eclipse sdk that you may downloaded earlier for your Eclipse android developments. Then build->clean your project once again.

    Worth to try.

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