Getting a DexArchiveBuilderException
See original GitHub issueHi,
I’m trying to use your library, but I’m getting this exception when building my app:
Error:com.android.builder.dexing.DexArchiveBuilderException: Failed to process /Users/abhimanyu/.gradle/caches/transforms-1/files-1.1/fab-reveal-menu-1.0.3.aar/9c059463728c3887708c3849d7c1c5d6/jars/classes.jar
Error:com.android.builder.dexing.DexArchiveBuilderException: Error while dexing com/hlab/fabrevealmenu/view/FABRevealMenu.class
Error:com.android.dx.cf.code.SimException: invalid opcode ba (invokedynamic requires --min-sdk-version >= 26)
Error:Execution failed for task ':app:transformClassesWithDexBuilderForDebug'.
> com.android.build.api.transform.TransformException: com.android.builder.dexing.DexArchiveBuilderException: com.android.builder.dexing.DexArchiveBuilderException: Failed to process /Users/abhimanyu/.gradle/caches/transforms-1/files-1.1/fab-reveal-menu-1.0.3.aar/9c059463728c3887708c3849d7c1c5d6/jars/classes.jar
Information:BUILD FAILED in 11s
Can you please guide on how to fix this error. Thanks
Issue Analytics
- State:
- Created 6 years ago
- Comments:18 (5 by maintainers)
Top Results From Across the Web
How to resolve com.android.builder.dexing ... - Stack Overflow
I am getting this exception while trying to build flutter app and tried various solutions ... DexArchiveBuilderException: Failed to process ...
Read more >DexArchiveBuilderException when building Android ...
Hi all, I've just included the Piwik SDK for Android into my mobile application according to this tutorial Getting started ...
Read more >Dexing fails with com.android.builder.dexing ...
DexArchiveBuilderException after NewRelic transformation. ... NewRelic is added to build otherwise the DemoApp build is getting succeeded.
Read more >DexArchiveBuilderException with Firebase Performance ...
Compiling without the Firebase Performance monitoring library will pass the classes.jar directly to d8, and the case insensitive file system will not get...
Read more >[Solved]-How to resolve com.android.builder.dexing ...
DexArchiveBuilderException ?-kotlin. ... DexArchiveBuilderException?-kotlin ... I am getting red line while using this dependency in android studio.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Adding compileOptions and android.enableD8=true (with android studio 3.1) resolved the problem to me.
add this to your gradle:
compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 }