-
Notifications
You must be signed in to change notification settings - Fork 249
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to load interface org.mockito.plugins.MockMaker implementation declared in sun.misc.CompoundEnumeratio #183
Comments
As stated in the README, the If you are running on Android 4.4, you should use the regular |
@drewhannay Are you refering to |
That would be the kernel verison of the phone I'm running the test on.
I don't think I'm breaking the readme recommendation. Am I? |
Ah, my apologies. Usually this is the error you get when running on a too old Android version, and I saw 4.4 and assumed 😅 The other thing to check: Do you have any other mockito dependencies in the |
I'm currently OOO - I'll be updating this ticket on the 07/09. Please don't close |
Hello,
I am getting an issue when trying to use anything mock related in instrumented test.
AndroidJUnitRunner is default 'testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"'
androidTestImplementation config
jvm is 1.8 + coreLibDesugar up
compileSdk is 31
minSdk is 26
I have tried to run tests with AndroidJunit4::class / MockitoJUnitRunner::class / even without a RunWIth (was getting a bit desperate)/
I'm seeing quite a lot of similar issues online.
When using a different set of dependencies, the error changes..
The text was updated successfully, but these errors were encountered: