Resources$NotFoundException: File res/drawable/abc_ic_ab_back_material.xml

后端 未结 18 846
野性不改
野性不改 2020-11-27 15:49

After solving a JDK zero value error, now I\'m facing this one. I did a little research, but it seems I can\'t get to the point. Here is the log error:

FATA         


        
18条回答
  •  情深已故
    2020-11-27 16:04

    Ok, i just solved my problem, the problem was my gradle outdated and my sdk , so if anyone is running with this problem just do this steps

    1.- Make sure your libs are updated as piotrek1543 says above 2.- Update your sdk if is necesary 3.- Update your gradle files (VERY IMPORTANT) just go to the project gradle and add this

    classpath 'com.android.tools.build:gradle:2.1.0'
    

    then go to your app project > app > graddle > graddlewrapper.properties and add

    distributionUrl=https://services.gradle.org/distributions/gradle-2.10-all.zip
    

    4.- change your compile compileSdkVersion to 24 and your buildToolsVersion "24.0.2" (MAKE SURE YOUR DEPENDENCES ARE UP TO DATE WITH THE SDK)

    Have fun

提交回复
热议问题