Internal Error (javaClasses.cpp:129)

后端 未结 6 1978
北海茫月
北海茫月 2021-01-04 14:22

I\'m trying run a test with JUnit 4 and Robolectric on Eclipse but all time I receive this error:

Invalid layout of java.lang.String at value
#
# A fatal err         


        
6条回答
  •  日久生厌
    2021-01-04 15:14

    Same issue encountered to me as well and reason was I added main(String s[]) method in my android project.

    So just remove main(String s[]) method from project and run as Android Application.

提交回复
热议问题