Android 任务';的执行失败:wittyfeednew:packageAllDebugClassesForMultiDex';

Android 任务';的执行失败:wittyfeednew:packageAllDebugClassesForMultiDex';,android,exception,android-multidex,Android,Exception,Android Multidex,任务“:wittyfeednew:PackageAllDebugClassesForMultiIndex”的执行失败 java.util.zip.ZipException:重复条目:com/google/android/gms/analytics/internal/Command$1.class 删除编译文件('libs/libGoogleAnalyticsServices.jar')并重试,因为com.google.android.gms:play services:+在我的java文件中包含

任务“:wittyfeednew:PackageAllDebugClassesForMultiIndex”的执行失败

java.util.zip.ZipException:重复条目:com/google/android/gms/analytics/internal/Command$1.class


删除编译文件('libs/libGoogleAnalyticsServices.jar')并重试,因为com.google.android.gms:play services:+在我的java文件中包含所有soIt的give错误。我想你已经尝试过了,欢迎使用StackOverflow。请先查看StackOverflow关于提问的帮助。关注和,但也关注其他方面会很有用。你的问题质量很差。不确定什么是play services:+但如果你想访问Plus API,你可以包括:com.google.android.gms:play services Plus:8.3.0。添加此项并重试。如果该播放服务:+添加gms的所有服务,则删除该服务并添加您只需要的服务。遵循以下步骤:
 dependencies {
    compile project(':titanic')
    compile project(':urlImageViewHelper')
    compile project(':socialauthandroid')
    compile project(':rippleLibrary')
    compile project(':loadMoreListView')
    compile project(':facebookSDK')
    compile project(':circularImageView')
    compile project(':cardview')
    compile project(':staggeredGrid')
    compile project(':materialDesign')
    compile 'com.android.support:support-v4:23.0.0'
    compile 'com.google.android.gms:play-services:+'
    compile 'com.android.support:appcompat-v7:23.0.0'
    compile files('libs/YouTubeAndroidPlayerApi.jar')
    compile files('libs/android-support-v7-recyclerview.jar')

    compile files('libs/libGoogleAnalyticsServices.jar')
    compile files('libs/mail.jar')
    compile files('libs/pinit-sdk-1.0-javadoc.jar')
    compile files('libs/pinit-sdk-1.0.jar')
    compile files('libs/socialauth-4.4.jar')
    compile files('libs/volley.jar')
}