google

Solution to "fatal error: Invalid layout of preloaded class"

| Monday, June 2, 2014
To solve the error "fatal error: Invalid layout of preloaded class".


In case of an Android project, you have to remove Android Lib from the launch configuration for that specific class. Use the steps below as a guide.
  • Project->Properties->Run/Debug Settings Or Right click on the file and Select Run Configurations
  • Select your Class and click "Edit";
  • Open the tab "Classpath" and remove Android Lib from "Bootstrap Entries"; e. "Android 4.4.2
  • Apply everything and Run the class again.

2 comments:

Next Prev
▲Top▲