secondary-dex-gradle icon indicating copy to clipboard operation
secondary-dex-gradle copied to clipboard

Secondary DEX file generation using Gradle.

Results 6 secondary-dex-gradle issues
Sort by recently updated
recently updated
newest added

When building the debug variant I get a warning about game.zip being missing Running the DEX Tool Now\n Asset Merge Dir: /Users/adamcook/code/secondary-dex-gradle/app/build/intermediates/assets/debug rm: /Users/adamcook/code/secondary-dex-gradle/app/build/intermediates/assets/debug/game.zip: No such file or directory UNEXPECTED...

I run secondary-dex-gradle with gradle gradle:0.12.+. But when i have error :+1: ![untitled](https://cloud.githubusercontent.com/assets/2919735/4553490/b0b5aafc-4e9a-11e4-8ad8-5df98a65813a.png) Please, help me check this issue.

This line should be improved `commandLine "${BUILD_TOOL_DX}", "--dex", "--output=${ASSET_DIR}", secondaryFile.get(0).toString(), secondaryFile.get(1).toString()` if you add more files to secondary dex file, then this line need extra `secondaryFile.get(XX).toString()`. Maybe the command call...

would be great if the hardcoded part of lib name could also be dynamic

``` java.lang.ClassCastException: org.robolectric.bytecode.AsmInstrumentingClassLoader cannot be cast to dalvik.system.PathClassLoader at de.epost.epostapp.tools.multiDex.SecondaryDex.appendOdexesToClassPath(SecondaryDex.java:127) at xxx.SecondaryDex.loadSecondaryDex(SecondaryDex.java:100) ``` Solution: Disable loading of the second dex file when you run tests on jvm, this is not...

After proguard obfuscation no one know how the packages are mapped. So its hard to split specific packages into multi dex files. maybe it can be read from the generated...