android 导入easeui后 ,编译报错,求解

问题描述

编译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看下还有错吗

时间: 2024-09-13 04:34:37

android 导入easeui后 ,编译报错,求解的相关文章

iOS SDK 3.1.2导入 EaseUI后UIkit 报错

问题描述 导入 EaseUI后uikit报错 解决方案 在你自己工程的pch里面引用UIkit和foundation,并在所有引用头尾加上#ifdef __OBJC__#endif解决方案二:非常 感谢已经 解决解决方案三:你时怎么解决的的,我也遇到这个问题 ,按照一楼的方法添加了后还报错

gradle-Android studio 添加jar后编译报错

问题描述 Android studio 添加jar后编译报错 添加了一个mysql-connector-java-5.1.38-bin.jar 然后编译就报错了 错误信息如下: Error:Error converting bytecode to dex: Cause: Dex cannot parse version 52 byte code. This is caused by library dependencies that have been compiled using Java 8

clr excel-CLR工程,using Microsoft.Office.Interop.Excel后编译报错

问题描述 CLR工程,using Microsoft.Office.Interop.Excel后编译报错 目的:用VS2008创建CLR窗体工程后,需要导出数据到Excel 添加microsoft excel 11.0 object library后,代码里面写入using Microsoft.Office.Interop.Excel,编译就报错,非常的怪异. 哪位大虾帮忙看看什么原因?谢谢! .selectdemo.cpp(12) : error C2872: 'Application' :

集成EaseUI后运行报错:java.lang.NoClassDefFoundError: android.support.v7.appcompat.R$layout

问题描述 具体报错信息06-23 09:26:58.154 7443-7443/com.*****.***** E/AndroidRuntime: FATAL EXCEPTION: main                                                                            Process: com.*****.*****, PID: 7443                                           

android导入第三方jar包报错 如何正确导入jar包_Android

在android上导入zxing.jar包,总是报错: Could not find class 'com.google.zxing.MultiFormatWriter', referenced from method com.changyang.app.util.Encode2dUtil.creat2DCode 后来找到了解决方法: 在adt17 的版本之前,导入第三方jar包时要建立一个lib目录,并 add to buiild path. 在adt17的版本之后,导入第三方jar包,要建立

android导入第三方jar包报错 如何正确导入jar包

在android上导入zxing.jar包,总是报错: Could not find class 'com.google.zxing.MultiFormatWriter', referenced from method com.changyang.app.util.Encode2dUtil.creat2DCode 后来找到了解决方法: 在adt17 的版本之前,导入第三方jar包时要建立一个lib目录,并 add to buiild path. 在adt17的版本之后,导入第三方jar包,要建立

AS导入easeui、运行报错

问题描述 Error:Execution failed for task ':app:packageAllDebugClassesForMultiDex'.> java.util.zip.ZipException: duplicate entry: com/baidu/location/Address$1.class 错误位置是easeui的BaiduLBS_Android.jar 解决方案 http://community.easemob.com/question/8587您按照这里的步骤进行

iOS 导入SDK后,报错,文件配置,路径都查了,还是报这个错,删掉重新导入还是这样

问题描述 解决方案 other linker flags截图看看.解决方案二:直接导入EaseMobSDK文件夹就可以了,还有请确认文档中需要的依赖库是否都已导入.解决方案三:按照你的方法,我做了一遍,还是报这种错误,求解解决方案四:公司把网给我限制了,-ObjC-force_load"$(SRCROOT)/E_Supply/EaseMobSDK/libEaseMO.......解决方案五:就使用-ObjC即可,下面的-force_load"$(SRCROOT)/E_Supply/Ea

pod 引入 easeui hyphenate 编译报错

问题描述 工程主语言为 swift, 8.0 以上pod 1.0.0 pod 文件如下:install! 'cocoapods',:deterministic_uuids => false# Uncomment this line to define a global platform for your projectplatform :ios, '8.0'# Uncomment this line if you're using Swiftuse_frameworks!post_install