2016-04-11 16 views
1

Bu kitaplığı not defterine eklediğimde bu hatayı alıyorum.Belirtilen ad 'android: TextAppearance.Material.Widget.Button.Inverse' ile eşleşen kaynak bulunamadı. üçüncü taraf kitaplığı ekleme hakkında

compile 'com.miguelcatalan:materialsearchview:1.4.0' 

Bu benim gradle dosyasıdır

android { 
    compileSdkVersion 22 
    buildToolsVersion "22.0.1" 

    defaultConfig { 
     applicationId "com.gnr.kumar.varun.songapp.songapp" 
     minSdkVersion 16 
     targetSdkVersion 22 
     versionCode 1 
     versionName "1.0" 
    } 
    buildTypes { 
     release { 
      minifyEnabled false 
      proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' 
     } 
    } 
} 

dependencies { 
    compile fileTree(dir: 'libs', include: ['*.jar']) 
    compile 'com.android.support:appcompat-v7:22.2.1' 
    compile 'com.android.support:design:22.2.1' 
    compile 'com.android.support:recyclerview-v7:22.2.1' 
    compile 'com.google.code.gson:gson:2.3.1' 
    compile 'com.android.support:support-v4:22.2.1' 
    compile 'com.miguelcatalan:materialsearchview:1.4.0' 

} 

bunu önlemek nasıl, herkes bir şey önermek lütfen?

+2

'compileSdkVersion 23' değiştir. –

cevap

2
'android:TextAppearance.Material.Widget.Button.Inverse' 

Sen compileSdkVersion

compileSdkVersion 23 // compileSdkVersion is the version of the compiler used in building the app 
buildToolsVersion "23.0.1" 

Sonra Clean-Rebuild-Sync Sizin App değişmelidir.

İlgili konular