Internal Error (javaClasses.cpp:129)

后端 未结 6 1878
北海茫月
北海茫月 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 14:54

    For me was the solution: Run -> Run Configurations... -> at tab Test click Select Preferred Launcher and select Use configuration specific settings with selection Android JUnit Test Launcher.

    Delete all entries under JUnit (left column of Run Configurations dialog; RightMouse - Delete).

    Then Run as -> JUnit Test and optionally select Use configuration specific settings with Android JUnit Test Launcher.

提交回复
热议问题