android - Exception while processing task java.io.ioexception: can't write or read -
hello added new dependency , started getting following error when try run application:
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]))
i tried adding exclude not sure should exclude remove duplicate jars, appreciated it! thank in advance!
gradle:
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 , gives error** compile 'com.bignerdranch.android:expandablerecyclerview:3.0.0-rc1' //testing testcompile 'junit:junit:4.12' testcompile 'org.robolectric:robolectric:3.1.4' }
i added line on pro guard incase no luck:
-dontwarn com.bignerdranch.**
com.bignerdranch.android:expandablerecyclerview
library uses support library version 24.2.1
, whereas imported support lib version 23.0.1
.
either upgrade support libs version 24.2.1
or exclude support lib dependency expandablerecyclerview
library.
compile('com.bignerdranch.android:expandablerecyclerview:3.0.0-rc1') { exclude group: 'com.android.support', module: 'support-v4' }
note, may break expandablerecyclerview library, because written , tested newer support lib version.
Comments
Post a Comment