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.
本文提供了解决Android项目中遇到的预加载类布局错误的方法,包括如何在运行配置中移除Android Lib,编辑特定类的相关设置,并重新运行类以解决问题。

被折叠的 条评论
为什么被折叠?



