Fatal Error: Invalid Layout of java.lang.String at value

来源:互联网 发布:js写的网站怎么做seo 编辑:程序博客网 时间:2024/05/17 22:31

Fatal Error: Invalid Layout of java.lang.String at value

今天在测试代码时出现了这种打印到日志的错误(PS:IDE为Elipse),遂在stackoverflow找到了以下解决方法:

In case of an Android project, you have to remove Android Lib from the launch configuration for that specific class. 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”;
Apply everything and Run the class again.

stackoverflow源

0 0