[英]Invalid layout of java.lang.String at value
I am creating an Android mobile app in Eclipse Luna and everything was working fine. 我正在Eclipse Luna中创建一个Android移动应用程序,并且一切正常。 Then I received the following error.
然后,我收到以下错误。 I have tried running my project as an Android Application, editing the debug settings, and removing Android Lib from the Bootstrap Entries, but nothing has worked.
我尝试将项目作为Android应用程序运行,编辑调试设置以及从Bootstrap条目中删除Android Lib,但没有任何效果。 Does anyone have anything else that I can try?
还有人可以尝试的吗?
I only receive the error message when I run my program as there are no errors throughout the program until runtime. 我只在运行程序时收到错误消息,因为直到运行时为止,整个程序都没有错误。 The program also runs as a Java application but won't work on an android application.
该程序还可以作为Java应用程序运行,但不能在android应用程序上运行。 When I installed the android SDK plugin that's when the error occurred but until the plugin was installed the program ran.
当我安装了android SDK插件时,即发生了错误,但是直到插件安装完成,程序才开始运行。 My error message in full is:
我的完整错误消息是:
Invalid layout of java.lang.String at value
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (javaClasses.cpp:126), pid=4632, tid=4988
# fatal error: Invalid layout of preloaded class
#
# JRE version: (8.0_25-b18) (build )
# Java VM: Java HotSpot(TM) Client VM (25.25-b02 mixed mode windows-x86 )
# 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:
# C:\Users\Kevin\Desktop\Final Year Project\IndependentRetailers\hs_err_pid4632.log
#
# If you would like to submit a bug report, please visit:
# http://bugreport.sun.com/bugreport/crash.jsp
#
In case of an Android project, you have to remove Android Lib from the launch configuration for that specific class. 如果是Android项目,则必须从该特定类的启动配置中删除 Android Lib。 Use the "walkthrough" below as a guide.
使用下面的“演练”作为指南。
Project->Properties->Run/Debug Settings; 项目->属性->运行/调试设置;
Select your Class and click " Edit "; 选择您的班级 ,然后单击“ 编辑 ”;
Open the tab " Classpath " and remove Android Lib from "Bootstrap Entries"; 打开标签“ Classpath ”,然后从“ Bootstrap Entries”中删除 Android Lib;
Apply everything and Run the class again. 应用所有内容,然后再次运行课程。
OR 要么
You can get past this by using the Run As -> Android Application. 您可以通过运行方式-> Android应用程序来解决此问题。 Possibly check the Run configuration for other issues.
可能检查运行配置是否存在其他问题。
Hope this helps 希望这可以帮助
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.