Multidex support with instant run
See original GitHub issueHi,
Does this plugin support multidex ? With the following configuration I end up with an empty (with ressources but no class) APK :
com.android.tools.build:gradle:2.2.3
com.github.Archinamon:GradleAspectJ-Android:2.2.2
compileSdkVersion = 25
buildToolsVersion = '25.0.1'
minSdkVersion = 21
targetSdkVersion = 25
Btw I am using java 7 sources and Proguard is disable.
When I disable the plugin, the multidex is working, giving me an normal apk.
Using Aspectj plugin without Transform API (like this one or the one from this plugin) seems to works with Multidex.
Thanks for the support and let me know if you need further info.
Issue Analytics
- State:
- Created 7 years ago
- Comments:11 (6 by maintainers)
Top Results From Across the Web
Enable multidex for apps with over 64K methods
Learn how to enable an app configuration known as multidex, which allows your app to build and read multiple DEX files.
Read more >Understanding and Solving the Multidex Problem in Android
This article will help readers understand the multidex problem in Android. This issue can be solved using R8 for code shrinking or the ......
Read more >Multidex error:- Unable to instantiate application android ...
Navigate to Build, Execution, Deployment > Instant Run. Uncheck the box next to Enable Instant Run. Share. Share a ...
Read more >Android Multidex support · flutter/flutter Wiki - GitHub
Multidex support. Flutter supports automatic multidex error detection and support for apps targeting API 20 and below. When apps fail to build ...
Read more >Multidex in Android - GeeksforGeeks
What is a DEX file? ... Now we know the source code is converted into a DEX (Dalvik Executable) file which can run...
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 FreeTop 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
Top GitHub Comments
I’ll post update as soon as I find the solution for InstantRun support. Thanks for your feedback! Feel free to post any issues or questions you’ll face with.
Jar merger was the rudiment code, that was needed for proper work of proguard before gradle 2.2; but now this behavior leads to incorrect packaging of outputs and instantrun doesn’t slice jars, only app code. So because of aspectj slicer thought no application code was available and strips nothing into spk 😄 I’m happy we finally found the logic of this behavior.