解决异常: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
#

===================================================================

解决办法如下:

第一:

解决异常:Invalid layout of java.lang.String at value_第1张图片

 

第二,选择你运行的类

解决异常:Invalid layout of java.lang.String at value_第2张图片

第三:Run as -> Run Configurations,去掉andorid运行时的jar

解决异常:Invalid layout of java.lang.String at value_第3张图片

以上是操作示例:

 

 

你可能感兴趣的:(Invalid)