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

Robolectric

Open nenick opened this issue 10 years ago • 0 comments

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 necessary

nenick avatar Sep 16 '14 11:09 nenick