0
我找到了一些答案,但沒有一個適合我的問題。 當我這些東西添加到我的依賴關係:java.lang.NoClassDefFoundError:失敗的分辨率:Landroid/support/v7/internal/widget/TintManager;
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:appcompat-v7:23.0.1'
compile 'com.android.support:design:23.0.1'
compile 'com.android.support:support-v4:23.0.1'
compile 'com.android.support:cardview-v7:23.0.1'
compile 'com.google.android.gms:play-services-gcm:8.4.0'
compile 'com.nineoldandroids:library:2.4.0'
}
一切正常,但是當我補充一點:
compile 'com.wang.avi:library:1.0.5'
應用程序崩潰,並顯示此錯誤。 我嘗試使用來自github的代碼。
在這裏看到:http://stackoverflow.com/questions/34141152/錯誤-java-lang-noclassdeffounderror-android –
[這個圖書館y正在拉'com.android.support:appcompat-v7:23.2.0'](https://bintray.com/artifact/download/81813780/maven/com/wang/avi/library/1.0.5/library -1.0.5.pom)。由於支持庫中存在其他錯誤修復,我建議您將所有依賴關係從'23.0.1'移動到'23.2.0',並查看是否清除了您的問題。 – CommonsWare