java.util.zip.ZipException: duplicate entry during packageAllDebugClassesForMultiDex
You need to check that you have inserted v4 library and compile library? You must not repeat library in your app or your dependence program.
delete the repeat library so that just one V4 remains.
in your app dir build.gradle
file
add this command:
android{
configurations {
all*.exclude group: 'com.android.support', module: 'support-v4'
all*.exclude group: 'com.android.support', module: 'support-annotations'
}
}
it works for me! You can try it!
java.util.zip.ZipException: duplicate entry: com/google/android/gms/location/places/zzl.class
Try adding this line in your app/build gradle
dependencies:
compile 'com.google.android.gms:play-services-places:11.8.0'
java.util.zip.ZipException: duplicate entry: android/arch/lifecycle/LiveData$1.class
This probably happens because of version mismatch of dependencies. A similar question here,
I have checked the dependency tree it had:
android.arch.lifecycle:extensions:1.0.0-beta1
and
android.arch.lifecycle:livedata-core:1.1.0
see the mismatch 1.0.0
& 1.1.0
In your case try updating:
implementation 'com.firebaseui:firebase-ui-storage:3.2.1'
implementation 'com.firebaseui:firebase-ui-database:3.0.0'
to:
implementation 'com.firebaseui:firebase-ui-storage:3.2.2'
implementation 'com.firebaseui:firebase-ui-database:3.2.2'
which should hopefully fix the issue.
what is the "LiveData.class" actually I dont understand
Please read this.
Related Topics
Multiline Edittext with Done Softinput Action Label on 2.3
How to Enable Logging for Apache Commons Httpclient on Android
Trigger Mediascanner on Specific Path (Folder), How To
Bluetooth Low Energy Startscan on Android 6.0 Does Not Find Devices
Show Timepicker with Minutes Intervals in Android
Google Cloud Endpoints and User's Authentication
Google Signin Not Working in Release Mode APK Android
Android Dependency Has Different Version for the Compile and Runtime
Admob Error in Eclipse for Android:Configchanges
Passing Data of a Non-Primitive Type Between Activities in Android
Android Studio - Importing External Library/Jar
Implementation of Onscrolllistener to Detect the End of Scrolling in a Listview
Scan_Results_Available_Action Return Empty List in Android 6.0
How to Integrate Opencv Manager in Android App
How to Remove Lines Between Listviews on Android
How to Play an Android Notification Sound