当我试图使用robolectric我发现类未找到异常是否有办法解决这个问题.. 提前谢谢..
答案 0 :(得分:1)
通过以这种方式运行程序,将类添加到classpath:java -cp {path to class that isn't found} {YourProgramm class name}
答案 1 :(得分:0)
将必要的类添加到类路径中。没有更多信息,我无法帮助你更多;)
答案 2 :(得分:0)
一些指示:
有在线文章可以帮助您解决此异常问题
http://www.google.com/search?q=troubleshoot+classnotfoundexception