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
Right click java class with main, run configurations then go to classpath tab, remove the android library there. then run.
I hope this helps.