-
Notifications
You must be signed in to change notification settings - Fork 103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
com.android.dex.DexException: Multiple dex files define Ljavax/annotation/CheckForNull; #7
Comments
Are you using android studio ? |
I use the Android Studio 1.5 and never change build.gradle |
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello:
At compile time following error occurred. Hope to get your help
Information:Gradle tasks [:app:assembleBaiduDebug]
:app:preBuild UP-TO-DATE
:app:preBaiduDebugBuild UP-TO-DATE
:app:checkBaiduDebugManifest
:app:preBaiduReleaseBuild UP-TO-DATE
:app:preC360DebugBuild UP-TO-DATE
:app:preC360ReleaseBuild UP-TO-DATE
:app:preLeanoteDebugBuild UP-TO-DATE
:app:preLeanoteReleaseBuild UP-TO-DATE
:app:preUcDebugBuild UP-TO-DATE
:app:preUcReleaseBuild UP-TO-DATE
:app:preWandoujiaDebugBuild UP-TO-DATE
:app:preWandoujiaReleaseBuild UP-TO-DATE
:app:prepareComAndroidSupportAppcompatV72221Library UP-TO-DATE
:app:prepareComAndroidSupportCardviewV72221Library UP-TO-DATE
:app:prepareComAndroidSupportDesign2221Library UP-TO-DATE
:app:prepareComAndroidSupportRecyclerviewV72221Library UP-TO-DATE
:app:prepareComAndroidSupportSupportV132221Library UP-TO-DATE
:app:prepareComAndroidSupportSupportV42221Library UP-TO-DATE
:app:prepareComAutomatticRest102Library UP-TO-DATE
:app:prepareComCrashlyticsSdkAndroidAnswers112Library UP-TO-DATE
:app:prepareComCrashlyticsSdkAndroidBeta112Library UP-TO-DATE
:app:prepareComCrashlyticsSdkAndroidCrashlytics222Library UP-TO-DATE
:app:prepareComGithubChrisbanesPhotoviewLibrary123Library UP-TO-DATE
:app:prepareComHelpshiftAndroidAar380Library UP-TO-DATE
:app:prepareComSimperiumAndroidSimperium064Library UP-TO-DATE
:app:prepareIoFabricSdkAndroidFabric120Library UP-TO-DATE
:app:prepareJpWasabeefRicheditorAndroid110Library UP-TO-DATE
:app:prepareOrgThoughtcrimeSslPinningAndroidPinning100Library UP-TO-DATE
:app:prepareOrgWordpressDragSortListview061Library UP-TO-DATE
:app:prepareOrgWordpressEmailchecker03Library UP-TO-DATE
:app:prepareOrgWordpressGraphview340Library UP-TO-DATE
:app:prepareOrgWordpressMediapicker124Library UP-TO-DATE
:app:prepareOrgWordpressPasscodelock100Library UP-TO-DATE
:app:prepareOrgWordpressPersistentedittext101Library UP-TO-DATE
:app:prepareOrgWordpressSlidinguppanel100Library UP-TO-DATE
:app:prepareBaiduDebugDependencies
:app:compileBaiduDebugAidl UP-TO-DATE
:app:compileBaiduDebugRenderscript UP-TO-DATE
:app:generateBaiduDebugBuildConfig UP-TO-DATE
:app:generateBaiduDebugAssets UP-TO-DATE
:app:mergeBaiduDebugAssets UP-TO-DATE
:app:generateBaiduDebugResValues UP-TO-DATE
:app:generateBaiduDebugResources UP-TO-DATE
:app:mergeBaiduDebugResources UP-TO-DATE
:app:processBaiduDebugManifest UP-TO-DATE
:app:processBaiduDebugResources UP-TO-DATE
:app:generateBaiduDebugSources UP-TO-DATE
:app:processBaiduDebugJavaRes UP-TO-DATE
:app:compileBaiduDebugJavaWithJavac
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
:app:compileBaiduDebugNdk UP-TO-DATE
:app:compileBaiduDebugSources
:app:preDexBaiduDebug
warning: Ignoring InnerClasses attribute for an anonymous inner class
(org.ccil.cowan.tagsoup.Parser$1) that doesn't come with an
associated EnclosingMethod attribute. This class was probably produced by a
compiler that did not target the modern .class file format. The recommended
solution is to recompile the class from source, using an up-to-date compiler
and without specifying any "-target" type options. The consequence of ignoring
this warning is that reflective operations on this class will incorrectly
indicate that it is not an inner class.
:app:dexBaiduDebug
UNEXPECTED TOP-LEVEL EXCEPTION:
com.android.dex.DexException: Multiple dex files define Ljavax/annotation/CheckForNull;
at com.android.dx.merge.DexMerger.readSortableTypes(DexMerger.java:596)
at com.android.dx.merge.DexMerger.getSortedTypes(DexMerger.java:554)
at com.android.dx.merge.DexMerger.mergeClassDefs(DexMerger.java:535)
at com.android.dx.merge.DexMerger.mergeDexes(DexMerger.java:171)
at com.android.dx.merge.DexMerger.merge(DexMerger.java:189)
at com.android.dx.command.dexer.Main.mergeLibraryDexBuffers(Main.java:454)
at com.android.dx.command.dexer.Main.runMonoDex(Main.java:303)
at com.android.dx.command.dexer.Main.run(Main.java:246)
at com.android.dx.command.dexer.Main.main(Main.java:215)
at com.android.dx.command.Main.main(Main.java:106)
Error:Execution failed for task ':app:dexBaiduDebug'.
The text was updated successfully, but these errors were encountered: