tmurakami / dexopener

An Android library that provides the ability to mock your final classes on Android devices.
Apache License 2.0
113 stars 4 forks source link

"mockito-android" + "dexopener" - java.lang.NoClassDefFoundError: org/mockito/internal/configuration/plugins/Plugins #6

Closed jaredsburrows closed 7 years ago

jaredsburrows commented 7 years ago

Reposted from: https://github.com/mockito/mockito/issues/1082#issuecomment-315628196

java.lang.NoClassDefFoundError: org/mockito/internal/configuration/plugins/Plugins
        at org.mockito.internal.configuration.GlobalConfiguration.tryGetPluginAnnotationEngine(GlobalConfiguration.java:55)

Since Mockito-android is so large, I had to use LinkedIn's dexmaker.

Version of dexmaker - 0.9.2

I was using my example project here: https://github.com/jaredsburrows/android-gif-example

tmurakami commented 7 years ago

I guess this is solved now, so I will close this. If you are facing this error with the latest DexOpener, please reopen.

jaredsburrows commented 7 years ago

Thanks.