Open MarekMacko opened 6 years ago
Are you using DexOpener or something else to open classes? Are you using multidex? Thanks for your report
Yes, I was using DexOpener and multidex.
I am not sure if this is a DaggerMock issue or a DexOpener issue :( Did you try to search for something similar connected to DexOpener?
@maras93 Add these dependency if your use Kotlin
androidTestCompile "org.mockito:mockito-android:2.8.8"
androidTestCompile('com.nhaarman:mockito-kotlin-kt1.1:1.5.0') {
exclude group: 'org.jetbrains.kotlin'
}
Hi, I have project with android library where I trying use your library, when I start tests then following error occurs:
When I change module build.gradle from
apply plugin: 'com.android.library'
toapply plugin: 'com.android.application'
then everythings works.