The layout file graphical interface for Android development issues cannot be displayed

Source: Internet
Author: User

Problem Resolution:
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.
Workaround:
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.

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.