Invalid layout of java.lang.String at value
在android项目中,通过run as java application运行java类时,可能会出现下面这个问题:
Invalid layout of java.lang.String at value
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (javaClasses.cpp:129), pid=8552, tid=9696
# fatal error: Invalid layout of preloaded class
#
# JRE version: 7.0_17-b02
# Java VM: Java HotSpot(TM) Client VM (23.7-b01 mixed mode windows-x86 )
# Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
解决方法:选中Project--->单击右键--->Run As--->Run Configuration