java.lang.IncompatibleClassChangeError: seppo0010.espressotest.MainActivity

google.com | 6 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    java.lang.IncompatibleClassChangeError when including espresso-contrib:2.0

    Stack Overflow | 2 years ago | seppo0010
    java.lang.IncompatibleClassChangeError: xxx.DashboardActivity$1
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    java.lang.IncompatibleClassChangeError caused by ActivityTestRule instantiation

    Stack Overflow | 1 year ago | Rock Lee
    java.lang.IncompatibleClassChangeError: com.example.rocklee.mehmvp.HomePage.HomePageActivity
  4. 0

    Espresso test aren't running after adding espresso-contrib library in gradle

    Stack Overflow | 1 year ago | user1796624
    java.lang.IncompatibleClassChangeError: databinding.com.masterdetails.PostListActivity

  1. jk 3 times, last 10 months ago
  2. zildjiandm 7 times, last 11 months ago
  3. MyInnos 3 times, last 11 months ago
3 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.IncompatibleClassChangeError

    seppo0010.espressotest.MainActivity

    at dalvik.system.DexFile.defineClassNative()
  2. Android Platform
    BaseDexClassLoader.findClass
    1. dalvik.system.DexFile.defineClassNative(Native Method)
    2. dalvik.system.DexFile.defineClass(DexFile.java:226)
    3. dalvik.system.DexFile.loadClassBinaryName(DexFile.java:219)
    4. dalvik.system.DexPathList.findClass(DexPathList.java:321)
    5. dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:54)
    5 frames
  3. Java RT
    ClassLoader.loadClass
    1. java.lang.ClassLoader.loadClass(ClassLoader.java:511)
    2. java.lang.ClassLoader.loadClass(ClassLoader.java:469)
    2 frames
  4. seppo0010.espressotest
    MainActivityTest.<init>
    1. seppo0010.espressotest.MainActivityTest.<init>(MainActivityTest.java:18)
    1 frame
  5. Java RT
    Constructor.newInstance
    1. java.lang.reflect.Constructor.newInstance(Native Method)
    2. java.lang.reflect.Constructor.newInstance(Constructor.java:288)
    2 frames
  6. JUnit
    JUnitCore.run
    1. org.junit.runners.BlockJUnit4ClassRunner.createTest(BlockJUnit4ClassRunner.java:217)
    2. org.junit.runners.BlockJUnit4ClassRunner$1.runReflectiveCall(BlockJUnit4ClassRunner.java:266)
    3. org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
    4. org.junit.runners.BlockJUnit4ClassRunner.methodBlock(BlockJUnit4ClassRunner.java:263)
    5. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
    6. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
    7. org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
    8. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
    9. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
    10. org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
    11. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
    12. org.junit.runners.ParentRunner.run(ParentRunner.java:363)
    13. org.junit.runners.Suite.runChild(Suite.java:128)
    14. org.junit.runners.Suite.runChild(Suite.java:27)
    15. org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
    16. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
    17. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
    18. org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
    19. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
    20. org.junit.runners.ParentRunner.run(ParentRunner.java:363)
    21. org.junit.runner.JUnitCore.run(JUnitCore.java:137)
    22. org.junit.runner.JUnitCore.run(JUnitCore.java:115)
    22 frames
  7. android.support.test
    AndroidJUnitRunner.onStart
    1. android.support.test.internal.runner.TestExecutor.execute(TestExecutor.java:54)
    2. android.support.test.runner.AndroidJUnitRunner.onStart(AndroidJUnitRunner.java:228)
    2 frames
  8. Android Platform
    Instrumentation$InstrumentationThread.run
    1. android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:1853)
    1 frame