我尝试了很多不同的方法来将 Vimeo 网络连接到我的应用程序中,但没有任何效果。如果我删除实现,它就可以正常工作,所以我知道这就是问题所在。
编译 'com.vimeo.networking:vimeo-networking:1.1.1'
给我这个错误
Error:Execution failed for task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug'. > java.lang.RuntimeException: com.android.builder.dexing.DexArchiveMergerException: Unable to merge dex
我到处搜索但还没有找到解决方案(是的,我已经尝试过清理和重建项目)
最佳答案
解决方案:anthonycr 的回答很完美,但我也不得不这样做:
implementation ("org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version") {
exclude group: 'org.jetbrains', module: 'annotations'
}
implementation ('com.vimeo.networking:vimeo-networking:1.1.1') {
exclude group: 'org.jetbrains', module: 'annotations'
}
关于java - 实现 Vimeo 网络时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47294862/