Android ~ Windows 10
See original GitHub issueHi,
Did 3.0.0
break Android unit test support?
Exception in thread "main" java.lang.NoSuchMethodError: org.junit.platform.commons.util.ReflectionUtils.getDefaultClassLoader()Ljava/lang/ClassLoader;
at org.junit.platform.launcher.core.ServiceLoaderTestEngineRegistry.loadTestEngines(ServiceLoaderTestEngineRegistry.java:30)
at org.junit.platform.launcher.core.LauncherFactory.create(LauncherFactory.java:53)
at com.intellij.junit5.JUnit5IdeaTestRunner.createListeners(JUnit5IdeaTestRunner.java:39)
at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:49)
at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.intellij.rt.execution.application.AppMainV2.main(AppMainV2.java:131)
If so, how can I make it work again?
Thanks
Issue Analytics
- State:
- Created 5 years ago
- Comments:12 (6 by maintainers)
Top Results From Across the Web
Use apps from your Android device on your PC
With the Phone Link app, you can instantly access the Android apps installed on your mobile device ... A PC running the Windows...
Read more >5 Ways to Run Android Apps on Your PC for Free | PCMag
1. Mirror Your Phone With Windows · 2. Run Your Favorite Apps With BlueStacks · 3. Emulate Full Android Experience With Genymotion ·...
Read more >How to Run Android Apps on Windows 10 - Lifewire
1. First, get the Your Phone app from Microsoft to install on your Windows 10 PC. Make sure the version you get is...
Read more >The 9 Best Android Emulators for Windows 10 and Windows 11
Try out Android apps on your computer with these emulators · BlueStacks · Amazon Appstore · MEmu · GameLoop · Remix OS Player...
Read more >Windows 10 can run Android apps on your PC — here's how
With the upcoming release of Windows 11, Android apps will soon be able to run natively on your PC with some help from...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
That makes sense and means it was what I was saying that the 3.0.x release of android studio has an earlier version of junit embedded that clashes with the version used by kotlintest. And because it’s built into intellij it’s not a normal dependency that’s bumped. So good to know 3.1.0 works.
There’s a version mismatch somewhere with reflections. I’ll have to look into it.