java.lang.NoClassDefFoundError: android/content/pm/PackageInstaller

GitHub | WonderCsabo | 5 months ago
  1. 0

    Cannot run tests with sdk < 21 anymore

    GitHub | 5 months ago | WonderCsabo
    java.lang.NoClassDefFoundError: android/content/pm/PackageInstaller
  2. 0

    java.lang.NoClassDefFoundError: ...InstrumentingClassLoader

    Google Groups | 1 year ago | Christine
    java.lang.NoClassDefFoundError: Could not initialize class org.robolectric.internal.bytecode.InstrumentingClassLoader
  3. 0

    How to test Android Intent?

    Google Groups | 4 months ago | Andriy Matkivskiy
    java.lang.NoClassDefFoundError: com/google/common/collect/ImmutableMap
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 1766#194513038

    GitHub | 9 months ago | ssoliwal
    java.lang.NoClassDefFoundError: android/content/pm/PackageInstaller
  6. 0

    Can you help me start ? Guice 1.0 and Struts 2.0.8

    Google Groups | 9 years ago | llapinski
    java.lang.ClassNotFoundException: sample.SampleModule

    1 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.lang.ClassNotFoundException

      android.content.pm.PackageInstaller

      at org.robolectric.internal.bytecode.InstrumentingClassLoader.getByteCode()
    2. Roboelectric
      RobolectricTestRunner.runChild
      1. org.robolectric.internal.bytecode.InstrumentingClassLoader.getByteCode(InstrumentingClassLoader.java:192)
      2. org.robolectric.internal.bytecode.InstrumentingClassLoader.findClass(InstrumentingClassLoader.java:147)
      3. org.robolectric.internal.bytecode.InstrumentingClassLoader.loadClass(InstrumentingClassLoader.java:122)
      4. org.robolectric.internal.ParallelUniverse.setUpApplicationState(ParallelUniverse.java:81)
      5. org.robolectric.RobolectricTestRunner$2.evaluate(RobolectricTestRunner.java:237)
      6. org.robolectric.RobolectricTestRunner.runChild(RobolectricTestRunner.java:174)
      7. org.robolectric.RobolectricTestRunner.runChild(RobolectricTestRunner.java:63)
      7 frames
    3. JUnit
      ParentRunner$2.evaluate
      1. org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
      2. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
      3. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
      4. org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
      5. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
      5 frames
    4. Roboelectric
      RobolectricTestRunner$1.evaluate
      1. org.robolectric.RobolectricTestRunner$1.evaluate(RobolectricTestRunner.java:140)
      1 frame
    5. JUnit
      ParentRunner.run
      1. org.junit.runners.ParentRunner.run(ParentRunner.java:309)
      1 frame
    6. JUnit4 Provider
      JUnit4Provider.invoke
      1. org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:367)
      2. org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:274)
      3. org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
      4. org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:161)
      4 frames
    7. SureFire
      ForkedBooter.main
      1. org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
      2. org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
      3. org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
      3 frames