java.util.ServiceConfigurationError: org.robolectric.internal.ShadowProvider: Provider org.robolectric.shadows.support.v4.Shadows not a subtype

Stack Overflow | MAOL | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Testing NoClassDefFoundError rx/Observable$OnSubscribe

    Stack Overflow | 8 months ago | MAOL
    java.util.ServiceConfigurationError: org.robolectric.internal.ShadowProvider: Provider org.robolectric.shadows.support.v4.Shadows not a subtype
  2. 0

    GitHub comment 1766#194513038

    GitHub | 1 year ago | ssoliwal
    java.util.ServiceConfigurationError: org.robolectric.internal.ShadowProvider: Provider org.robolectric.Shadows not a subtype
  3. 0

    3.1 release?

    Google Groups | 1 year ago | Michael Grafton
    java.util.ServiceConfigurationError: org.robolectric.internal.ShadowProvider: Provider org.robolectric.Shadows not a subtype
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    UnsatisfiedLinkError for sqlcipher with robolectric

    Stack Overflow | 3 months ago | nilkash
    java.util.ServiceConfigurationError: org.robolectric.internal.ShadowProvider: Provider org.robolectric.shadows.multidex.Shadows not a subtype
  6. 0

    RobolectricGradleTestRunner fails to parse BuildConfig containing enum values

    GitHub | 4 months ago | ikravchenko
    java.util.ServiceConfigurationError: org.robolectric.internal.ShadowProvider: Provider org.robolectric.Shadows not a subtype

  1. Handemelindo 1 times, last 3 months ago
  2. kid 1 times, last 4 months ago
55 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.util.ServiceConfigurationError

    org.robolectric.internal.ShadowProvider: Provider org.robolectric.shadows.support.v4.Shadows not a subtype

    at java.util.ServiceLoader.fail()
  2. Java RT
    ServiceLoader$1.next
    1. java.util.ServiceLoader.fail(ServiceLoader.java:239)
    2. java.util.ServiceLoader.access$300(ServiceLoader.java:185)
    3. java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:376)
    4. java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:404)
    5. java.util.ServiceLoader$1.next(ServiceLoader.java:480)
    5 frames
  3. Roboelectric
    RobolectricTestRunner.runChild
    1. org.robolectric.internal.bytecode.InstrumentationConfiguration$Builder.build(InstrumentationConfiguration.java:151)
    2. org.robolectric.RobolectricTestRunner.createClassLoaderConfig(RobolectricTestRunner.java:118)
    3. org.robolectric.RobolectricTestRunner.runChild(RobolectricTestRunner.java:172)
    4. org.robolectric.RobolectricTestRunner.runChild(RobolectricTestRunner.java:63)
    4 frames
  4. JUnit
    ParentRunner$2.evaluate
    1. org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
    2. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
    3. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
    4. org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
    5. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
    5 frames
  5. Roboelectric
    RobolectricTestRunner$1.evaluate
    1. org.robolectric.RobolectricTestRunner$1.evaluate(RobolectricTestRunner.java:140)
    1 frame
  6. JUnit
    JUnitCore.run
    1. org.junit.runners.ParentRunner.run(ParentRunner.java:363)
    2. org.junit.runner.JUnitCore.run(JUnitCore.java:137)
    2 frames
  7. IntelliJ junit4 module
    JUnit4IdeaTestRunner.startRunnerWithArgs
    1. com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:69)
    1 frame
  8. IDEA
    JUnitStarter.main
    1. com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:234)
    2. com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:74)
    2 frames
  9. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:498)
    4 frames
  10. IDEA
    AppMain.main
    1. com.intellij.rt.execution.application.AppMain.main(AppMain.java:144)
    1 frame