java.lang.IncompatibleClassChangeError: testPackage.MainFreeActivity

google.com | 4 months ago
  1. 0

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

    Stack Overflow | 2 years ago | seppo0010
    java.lang.IncompatibleClassChangeError: xxx.DashboardActivity$1
  2. 0

    java.lang.IncompatibleClassChangeError caused by ActivityTestRule instantiation

    Stack Overflow | 10 months ago | Rock Lee
    java.lang.IncompatibleClassChangeError: com.example.rocklee.mehmvp.HomePage.HomePageActivity
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

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

    Stack Overflow | 10 months ago | user1796624
    java.lang.IncompatibleClassChangeError: databinding.com.masterdetails.PostListActivity

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

    testPackage.MainFreeActivity

    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. Android
    InternalNames.getClass
    1. libcore.reflect.InternalNames.getClass(InternalNames.java:53)
    1 frame
  5. Java RT
    Class.getDeclaredMethods
    1. java.lang.Class.getDexCacheType(Class.java:479)
    2. java.lang.reflect.ArtMethod.getDexCacheType(ArtMethod.java:191)
    3. java.lang.reflect.ArtMethod.getReturnType(ArtMethod.java:145)
    4. java.lang.reflect.Method.getReturnType(Method.java:184)
    5. java.lang.Class.getDeclaredMethods(Class.java:771)
    5 frames
  6. JUnit
    BlockJUnit4ClassRunner.<init>
    1. org.junit.internal.MethodSorter.getDeclaredMethods(MethodSorter.java:54)
    2. org.junit.runners.model.TestClass.scanAnnotatedMembers(TestClass.java:65)
    3. org.junit.runners.model.TestClass.<init>(TestClass.java:57)
    4. org.junit.runners.ParentRunner.createTestClass(ParentRunner.java:88)
    5. org.junit.runners.ParentRunner.<init>(ParentRunner.java:83)
    6. org.junit.runners.BlockJUnit4ClassRunner.<init>(BlockJUnit4ClassRunner.java:65)
    6 frames
  7. android.support.test
    AndroidJUnit4.<init>
    1. android.support.test.internal.runner.junit4.AndroidJUnit4ClassRunner.<init>(AndroidJUnit4ClassRunner.java:37)
    2. android.support.test.runner.AndroidJUnit4.<init>(AndroidJUnit4.java:36)
    2 frames
  8. Java RT
    Constructor.newInstance
    1. java.lang.reflect.Constructor.newInstance(Native Method)
    2. java.lang.reflect.Constructor.newInstance(Constructor.java:288)
    2 frames
  9. android.support.test
    AndroidAnnotatedBuilder.runnerForClass
    1. android.support.test.internal.runner.junit4.AndroidAnnotatedBuilder.buildAndroidRunner(AndroidAnnotatedBuilder.java:83)
    2. android.support.test.internal.runner.junit4.AndroidAnnotatedBuilder.runnerForClass(AndroidAnnotatedBuilder.java:62)
    2 frames
  10. JUnit
    Computer.getSuite
    1. org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
    2. org.junit.internal.builders.AllDefaultPossibilitiesBuilder.runnerForClass(AllDefaultPossibilitiesBuilder.java:26)
    3. org.junit.runner.Computer.getRunner(Computer.java:40)
    4. org.junit.runner.Computer$1.runnerForClass(Computer.java:31)
    5. org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
    6. org.junit.runners.model.RunnerBuilder.runners(RunnerBuilder.java:101)
    7. org.junit.runners.model.RunnerBuilder.runners(RunnerBuilder.java:87)
    8. org.junit.runners.Suite.<init>(Suite.java:81)
    9. org.junit.runner.Computer.getSuite(Computer.java:28)
    9 frames
  11. android.support.test
    AndroidJUnitRunner.onStart
    1. android.support.test.internal.runner.TestRequestBuilder.classes(TestRequestBuilder.java:789)
    2. android.support.test.internal.runner.TestRequestBuilder.build(TestRequestBuilder.java:753)
    3. android.support.test.runner.AndroidJUnitRunner.buildRequest(AndroidJUnitRunner.java:354)
    4. android.support.test.runner.AndroidJUnitRunner.onStart(AndroidJUnitRunner.java:260)
    4 frames
  12. Android Platform
    Instrumentation$InstrumentationThread.run
    1. android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:1853)
    1 frame