问题描述
编译messageInformation:Gradle tasks [:app:assembleDebug]extractDebugAnnotations is incompatible with java 8 sources and has been disabled.extractReleaseAnnotations is incompatible with java 8 sources and has been disabled.Jack is required to support java 8 language features.Jack is required to support java 8 language features.:app:preBuild UP-TO-DATE:app:preDebugBuild UP-TO-DATE:app:checkDebugManifest:app:preReleaseBuild UP-TO-DATE:citypicker:preBuild UP-TO-DATE:citypicker:preReleaseBuild UP-TO-DATE:citypicker:compileReleaseNdk UP-TO-DATE:citypicker:compileLint:citypicker:copyReleaseLint UP-TO-DATE:citypicker:checkReleaseManifest:citypicker:preDebugAndroidTestBuild UP-TO-DATE:citypicker:preDebugBuild UP-TO-DATE:citypicker:preDebugUnitTestBuild UP-TO-DATE:citypicker:preReleaseUnitTestBuild UP-TO-DATE:citypicker:prepareComAndroidSupportAppcompatV72311Library UP-TO-DATE:citypicker:prepareComAndroidSupportSupportV42311Library UP-TO-DATE:citypicker:prepareReleaseDependencies:citypicker:compileReleaseAidl UP-TO-DATE:citypicker:compileReleaseRenderscript UP-TO-DATE:citypicker:generateReleaseBuildConfig UP-TO-DATE:citypicker:mergeReleaseShaders UP-TO-DATE:citypicker:compileReleaseShaders UP-TO-DATE:citypicker:generateReleaseAssets UP-TO-DATE:citypicker:mergeReleaseAssets UP-TO-DATE:citypicker:generateReleaseResValues UP-TO-DATE:citypicker:generateReleaseResources UP-TO-DATE:citypicker:mergeReleaseResources UP-TO-DATE:citypicker:processReleaseManifest UP-TO-DATE:citypicker:processReleaseResources UP-TO-DATE:citypicker:generateReleaseSources UP-TO-DATE:citypicker:incrementalReleaseJavaCompilationSafeguard UP-TO-DATE:citypicker:compileReleaseJavaWithJavac UP-TO-DATE:citypicker:extractReleaseAnnotations UP-TO-DATE:citypicker:mergeReleaseProguardFiles UP-TO-DATE:citypicker:packageReleaseRenderscript UP-TO-DATE:citypicker:packageReleaseResources UP-TO-DATE:citypicker:processReleaseJavaRes UP-TO-DATE:citypicker:transformResourcesWithMergeJavaResForRelease UP-TO-DATE:citypicker:transformClassesAndResourcesWithSyncLibJarsForRelease UP-TO-DATE:citypicker:mergeReleaseJniLibFolders UP-TO-DATE:citypicker:transformNative_libsWithMergeJniLibsForRelease UP-TO-DATE:citypicker:transformNative_libsWithSyncJniLibsForRelease UP-TO-DATE:citypicker:bundleRelease UP-TO-DATE:easeui:preBuild UP-TO-DATE:easeui:preReleaseBuild UP-TO-DATE:easeui:compileReleaseNdk UP-TO-DATE:easeui:compileLint:easeui:copyReleaseLint UP-TO-DATE:easeui:checkReleaseManifest:easeui:preDebugAndroidTestBuild UP-TO-DATE:easeui:preDebugBuild UP-TO-DATE:easeui:preDebugUnitTestBuild UP-TO-DATE:easeui:preReleaseUnitTestBuild UP-TO-DATE:easeui:prepareComAndroidSupportSupportV42340Library UP-TO-DATE:easeui:prepareReleaseDependencies:easeui:compileReleaseAidl UP-TO-DATE:easeui:compileReleaseRenderscript UP-TO-DATE:easeui:generateReleaseBuildConfig UP-TO-DATE:easeui:mergeReleaseShaders UP-TO-DATE:easeui:compileReleaseShaders UP-TO-DATE:easeui:generateReleaseAssets UP-TO-DATE:easeui:mergeReleaseAssets UP-TO-DATE:easeui:generateReleaseResValues UP-TO-DATE:easeui:generateReleaseResources UP-TO-DATE:easeui:mergeReleaseResources UP-TO-DATE:easeui:processReleaseManifest UP-TO-DATE:easeui:processReleaseResources UP-TO-DATE:easeui:generateReleaseSources UP-TO-DATE:easeui:incrementalReleaseJavaCompilationSafeguard UP-TO-DATE:easeui:compileReleaseJavaWithJavac UP-TO-DATE:easeui:extractReleaseAnnotations UP-TO-DATE:easeui:mergeReleaseProguardFiles UP-TO-DATE:easeui:packageReleaseRenderscript UP-TO-DATE:easeui:packageReleaseResources UP-TO-DATE:easeui:processReleaseJavaRes UP-TO-DATE:easeui:transformResourcesWithMergeJavaResForRelease UP-TO-DATE:easeui:transformClassesAndResourcesWithSyncLibJarsForRelease UP-TO-DATE:easeui:mergeReleaseJniLibFolders:easeui:transformNative_libsWithMergeJniLibsForRelease:easeui:transformNative_libsWithSyncJniLibsForRelease UP-TO-DATE:easeui:bundleRelease UP-TO-DATE:framework:preBuild UP-TO-DATE:framework:preReleaseBuild UP-TO-DATE:framework:compileReleaseNdk UP-TO-DATE:framework:compileLint:framework:copyReleaseLint UP-TO-DATE:framework:checkReleaseManifest:framework:preDebugAndroidTestBuild UP-TO-DATE:framework:preDebugBuild UP-TO-DATE:framework:preDebugUnitTestBuild UP-TO-DATE:framework:preReleaseUnitTestBuild UP-TO-DATE:framework:prepareComAndroidSupportAppcompatV72310Library UP-TO-DATE:framework:prepareComAndroidSupportCardviewV72310Library UP-TO-DATE:framework:prepareComAndroidSupportDesign2310Library UP-TO-DATE:framework:prepareComAndroidSupportRecyclerviewV72310Library UP-TO-DATE:framework:prepareComAndroidSupportSupportV42310Library UP-TO-DATE:framework:prepareReleaseDependencies:framework:compileReleaseAidl UP-TO-DATE:framework:compileReleaseRenderscript UP-TO-DATE:framework:generateReleaseBuildConfig UP-TO-DATE:framework:mergeReleaseShaders UP-TO-DATE:framework:compileReleaseShaders UP-TO-DATE:framework:generateReleaseAssets UP-TO-DATE:framework:mergeReleaseAssets UP-TO-DATE:framework:generateReleaseResValues UP-TO-DATE:framework:generateReleaseResources UP-TO-DATE:framework:mergeReleaseResources UP-TO-DATE:framework:processReleaseManifest UP-TO-DATE:framework:processReleaseResources UP-TO-DATE:framework:generateReleaseSources UP-TO-DATE:framework:incrementalReleaseJavaCompilationSafeguard UP-TO-DATE:framework:compileReleaseJavaWithJavac UP-TO-DATE:framework:compileRetrolambdaRelease UP-TO-DATE:framework:extractReleaseAnnotations UP-TO-DATE:framework:mergeReleaseProguardFiles UP-TO-DATE:framework:packageReleaseRenderscript UP-TO-DATE:framework:packageReleaseResources UP-TO-DATE:framework:processReleaseJavaRes UP-TO-DATE:framework:transformResourcesWithMergeJavaResForRelease UP-TO-DATE:framework:transformClassesAndResourcesWithSyncLibJarsForRelease UP-TO-DATE:framework:mergeReleaseJniLibFolders UP-TO-DATE:framework:transformNative_libsWithMergeJniLibsForRelease UP-TO-DATE:framework:transformNative_libsWithSyncJniLibsForRelease UP-TO-DATE:framework:bundleRelease UP-TO-DATE:app:prepareComAndroidSupportAppcompatV72311Library UP-TO-DATE:app:prepareComAndroidSupportCardviewV72310Library UP-TO-DATE:app:prepareComAndroidSupportDesign2310Library UP-TO-DATE:app:prepareComAndroidSupportMultidex101Library UP-TO-DATE:app:prepareComAndroidSupportRecyclerviewV72310Library UP-TO-DATE:app:prepareComAndroidSupportSupportV42340Library UP-TO-DATE:app:prepareComGithubDavidpizarroAutolabelui101Library UP-TO-DATE:app:prepareComGithubDongjunkunDropDownMenu103Library UP-TO-DATE:app:prepareComGithubKaedeaAndroidCloudTagViewPlus5a49f4fbb6Library UP-TO-DATE:app:prepareComGithubOrangegangstersSwipy120Library UP-TO-DATE:app:prepareComKarumiHeaderrecyclerview110Library UP-TO-DATE:app:prepareDeHdodenhofCircleimageview130Library UP-TO-DATE:app:prepareGoJobMaster3CitypickerUnspecifiedLibrary UP-TO-DATE:app:prepareGoJobMaster3EaseuiUnspecifiedLibrary UP-TO-DATE:app:prepareGoJobMaster3FrameworkUnspecifiedLibrary UP-TO-DATE:app:prepareJpWasabeefGlideTransformations200Library UP-TO-DATE:app:prepareSMSSDK202Library UP-TO-DATE:app:prepareSMSSDKGUI202Library UP-TO-DATE:app:prepareDebugDependencies:app:compileDebugAidl UP-TO-DATE:app:compileDebugRenderscript UP-TO-DATE:app:generateDebugBuildConfig UP-TO-DATE:app:mergeDebugShaders UP-TO-DATE:app:compileDebugShaders UP-TO-DATE:app:generateDebugAssets UP-TO-DATE:app:mergeDebugAssets UP-TO-DATE:app:generateDebugResValues UP-TO-DATE:app:generateDebugResources UP-TO-DATE:app:mergeDebugResources UP-TO-DATE:app:processDebugManifest UP-TO-DATE:app:processDebugResources UP-TO-DATE:app:generateDebugSources UP-TO-DATE:app:incrementalDebugJavaCompilationSafeguard UP-TO-DATE:app:compileDebugJavaWithJavac注: 某些输入文件使用或覆盖了已过时的 API。注: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。注: 某些输入文件使用了未经检查或不安全的操作。注: 有关详细信息, 请使用 -Xlint:unchecked 重新编译。:app:compileRetrolambdaDebug UP-TO-DATE:app:compileDebugNdk UP-TO-DATE:app:compileDebugSources:app:prePackageMarkerForDebug:app:transformClassesWithJarMergingForDebug FAILED[i][b]Error:Execution failed for task ':app:transformClassesWithJarMergingForDebug'.> com.android.build.api.transform.TransformException: java.util.zip.ZipException: duplicate entry: android/support/annotation/ColorRes.class[/b][/i]Information:BUILD FAILEDInformation:Total time: 5.783 secsInformation:1 errorInformation:0 warningsInformation:See complete output in consoleapp gradledependencies { compile fileTree(include: ['*.jar'], dir: 'libs') testCompile 'junit:junit:4.12' compile project(':framework') compile project(':citypicker') compile project(':easeui') compile name: 'SMSSDK-2.0.2', ext: 'aar' compile name: 'SMSSDKGUI-2.0.2', ext: 'aar' compile 'com.nostra13.universalimageloader:universal-image-loader:1.9.5' compile 'com.github.kaedea:Android-Cloud-TagView-Plus:5a49f4fbb6' compile 'com.github.davidpizarro:autolabelui:1.0.1' compile 'jp.wasabeef:glide-transformations:2.0.0' compile 'com.github.dongjunkun:DropDownMenu:1.0.3' compile 'com.github.orangegangsters:swipy:1.2.0@aar' //下拉刷新 compile 'de.hdodenhof:circleimageview:1.3.0' compile 'com.karumi:headerrecyclerview:1.1.0' compile 'com.android.support:multidex:1.0.1'}frameworkdependencies {// compile fileTree(include: ['*.jar'], dir: 'libs') testCompile 'junit:junit:4.12' compile 'com.android.support:recyclerview-v7:23.1.0' compile 'com.android.support:cardview-v7:23.1.0' compile 'com.android.support:appcompat-v7:23.1.0' compile 'com.android.support:design:23.1.0' compile 'com.google.code.gson:gson:2.4' compile 'com.mcxiaoke.volley:library:1.0.16' compile 'com.jakewharton:butterknife:7.0.1' compile 'com.github.bumptech.glide:glide:3.6.0' //Glide compile 'com.github.bumptech.glide:volley-integration:1.3.0' //Glide 插件 for volley compile 'com.michaelpardo:activeandroid:3.1.0-SNAPSHOT' //active android compile 'com.qiniu:qiniu-android-sdk:7.0.+' //七牛// compile 'com.umeng.analytics:analytics:latest.integration' //友盟统计// compile 'com.twotoasters.jazzylistview:library-recyclerview:1.2.1' //recyclerView animation}easeuidependencies { //release时需要把easemobchatsdk的依赖注释掉,sdk已经被打成jar包放在libs底下 compile 'com.android.support:support-v4:23.+' compile files('libs/BaiduLBS_Android.jar') compile files('libs/glide-3.6.1.jar') compile files('libs/hyphenatechat_3.1.2.jar') compile files('libs/org.apache.http.legacy.jar') compile files('libs/MiPush_SDK_Client_2_2_19.jar') compile files('libs/google-play-services.jar')}在网上搜了好久,说是v4包冲突,可我也没用v4包啊,,,求解求解啊,,
解决方案
按照这里的步骤进行导入http://community.easemob.com/question/8587看下还有错吗