解决异常:Invalid layout of java.lang.String at value
异常信息:
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=4104, tid=5764
# fatal error: Invalid layout of preloaded class
#
# JRE version: 7.0_15-b03
# Java VM: Java HotSpot(TM) 64-Bit Server VM (23.7-b01 mixed mode windows-amd64 compressed oops)
# Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
#
# An error report file with more information is saved as:
# D:\workspace-android\test\hs_err_pid4104.log
#
# If you would like to submit a bug report, please visit:
# http://bugreport.sun.com/bugreport/crash.jsp
#
===================================================================
解决办法如下:
第一:
第二,选择你运行的类
第三:Run as -> Run Configurations,去掉andorid运行时的jar
以上是操作示例: