Cannot resolve R.drawable.abc_ic_ab_back_material

Cannot resolve R.drawable.abc_ic_ab_back_material
Cannot resolve app:srcCompat="@drawable/abc_ic_clear_material"


Bug fix:
--------

// Gradle Plugin 2.0+ 
 android { 
   defaultConfig { 
     vectorDrawables.useSupportLibrary = true 
    } 
 }


 dependencies {
    compile fileTree(include: ['*.jar'], dir: 'libs')
    testCompile 'junit:junit:4.12'
    ...
    compile 'com.android.support:support-v4:23.3.0'
    compile 'com.android.support:design:23.2.0'    //<------------23.2.0
}

Комментариев нет:

Отправить комментарий