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
This may not be your issue but I was able to get past this by using the Run As -> Android Application.
However, I'm not sure if you are using android or not. Possibly check the Run configuration for other issues.