3
你好,我增加了一个新的依赖,我开始收到以下错误,当我尝试运行应用程序:异常在处理任务产生java.io.IOException:不能写入或读取
Warning:Exception while processing task java.io.IOException: Can't write [/Users/paularellano/Documents/Workbench/Android/Huddle/huddle_2.0 updt/Huddle_Android/build/intermediates/transforms/proguard/release/jars/3/1f/main.jar] (Can't read [/Users/paularellano/.android/build-cache/d4e5659d4f4fc411f22ba3f779b09d40beccc03f/output/jars/libs/internal_impl-23.0.1.jar(;;;;;;**.class)] (Duplicate zip entry [internal_impl-23.0.1.jar:android/support/v4/view/WindowInsetsCompat.class]))
我尝试添加一个排除,但我不知道我应该排除删除这个重复的罐子,任何帮助将不胜感激!先谢谢你!
摇篮:
compileSdkVersion 23
buildToolsVersion '25.0.2'
dependencies {
compile ('com.google.android.gms:play-services-location:6.5.87') {
exclude module: 'support-v4'
}
compile 'com.android.support:appcompat-v7:23.0.1'
compile 'com.android.support:support-v4:23.0.1'
compile 'com.android.support:design:23.0.1'
compile 'com.google.maps.android:android-maps-utils:0.4'
compile 'info.hoang8f:android-segmented:1.0.6'
//expandable recycler view **RECENTLY ADDDED AND GIVES ERROR**
compile 'com.bignerdranch.android:expandablerecyclerview:3.0.0-RC1'
//Testing
testCompile 'junit:junit:4.12'
testCompile 'org.robolectric:robolectric:3.1.4'
}
我还增加了亲卫队此行只是柜面,但没有运气:
-dontwarn com.bignerdranch.**
它的工作!我所要做的就是将我的图书馆升级到新版本,并且做到了这一点,总是通过简单的事情解决问题!再次感谢你的帮助!! – paul590