#问题解析 #
The layout file graphical interface under the Layouts folder in Android Project cannot be displayed, which is very easy to appear after importing engineering operations because it is possible that Eclipse uses different versions of the SDK, different target types, and the library files used by Android are different. This causes the layout file not to display the graphical interface properly, only the code editing interface can be displayed.
#解决方法 #
1. Right-click the Android project name, select the last Item "Properties", find "Java build path" in the pop-up box, and select the "Library" tab in the box on the right. Locate the Android Project library under the "Libraries" tab (e.g. Android 4.0.3), select "Remove" The Found library, select "Add Library" and select "Android Classpath Container" library type in the popup interface. Re-add the Android library file to determine the completion
2. When you restart your eclipse, you can display the graphical interface of the layout file.
The layout file graphical interface cannot be displayed: An error has occurred. See error log for more details. Java.lang.NullPointe