“Invalid layout of preloaded class”问题解决

来源:互联网 发布:花与剑js mp3百度云 编辑:程序博客网 时间:2024/06/08 01:04

fatal error: Invalid layout of preloaded class

1 Answer


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.

Hope this help you guys!

Bye.

原创粉丝点击