我最近升级到AndroidStudio2.3。这个错误开始出现:

以下是我的图书馆清单:
compile fileTree(include: ['*.jar'], dir: 'libs')
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
compile files('libs/wekaSTRIPPED.jar')
compile('com.mikepenz:materialdrawer:5.8.1@aar') { // Material Drawer
transitive = true
}
compile 'com.android.support:appcompat-v7:25.2.0'
compile 'com.jakewharton:butterknife:8.5.1'
compile 'com.google.dagger:dagger:2.9'
compile 'com.github.wendykierp:JTransforms:3.1'
compile 'com.afollestad.material-dialogs:commons:0.9.3.0'
compile 'org.greenrobot:eventbus:3.0.0'
compile 'com.github.paolorotolo:appintro:4.1.0'
compile 'com.android.support:support-v4:25.2.0'
compile 'com.android.support:design:25.2.0'
compile 'com.borax12.materialdaterangepicker:library:1.9'
compile 'com.evernote:android-job:1.1.7' // Scheduling library
testCompile 'junit:junit:4.12'
annotationProcessor 'com.jakewharton:butterknife-compiler:8.5.1'
annotationProcessor 'com.google.dagger:dagger-compiler:2.9'知道怎么解决这个问题吗?
发布于 2017-03-08 08:37:49
在更新到AndroidStudio2.3时,我和您一样遇到了问题。我在我的项目中使用25.1.1搜索了所有支持库(我搜索了25.1.1)并替换为25.2.0。我认为在您的库和项目中使用25.1.1的代码很多。
可以在项目中打开外部库以显示所有依赖项。您应该更新到新的库版本(使用支持库的库库):
对于ex:https://github.com/mikepenz/MaterialDrawer -新版本是使用25.2.0的5.8.2

https://stackoverflow.com/questions/42666473
复制相似问题