Android Robotium NoClassDefFoundError

后端 未结 6 1823
一生所求
一生所求 2021-01-04 09:51

I was just trying to use Robotium in an Android JUnit Test, but the Testing always fails with an error:

java.lang.NoClassDefFoundError: com.jayway.android.robotium.s

6条回答
  •  鱼传尺愫
    2021-01-04 10:15

    If the problem still persist just restart your eclipse. I was having same problem even after importing robotium.jar but after restarting eclipse it worked fine.

提交回复
热议问题