Android Robotium NoClassDefFoundError

后端 未结 6 1913
一生所求
一生所求 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:13

    You will need to export the Robotium jar by going to Properties-> Java Build Path -> Order and Export. Then check the Robotium jar file.

提交回复
热议问题