Summary of issues encountered during the use of Eclipse's latest version _java

Source: Internet
Author: User

1, the SDK download is very slow.

Configure the SDK agent to be as fast as flying. It is recommended that you finish the 20-24 first, or you will encounter many problems later.

2, the problem of SUPPORT-V7

For example Res\values\styles.xml:4: Error:error Retrieving parent for item:no Resource found that matches the given name ' Theme.a PpCompat.Light.DarkActionBar '.

Download the relevant toolkit, in fact, the beginning of the SDK does not amount, many bloggers said there, I find for a long time.

Right-click on your project, there is an Android Tools below, clicking Add Support Lib ... , and then follow the prompts to download it.

The rest is like another blog that has to import V7 project and Jar bag.

3, V21 related issues

For example

Appcompat\res\values-v21\styles_base.xml:75:error:error Retrieving parent for item:no Resource found that matches the G Iven name ' Android:Widget.Material.ActionButton '.

To change in the V7 project, the target version of Project.Properties under the V7 project is changed a little higher

4, can not find the icon

For example Error:Error:No resource found that matches the given name (at ' icon ' with value ' @drawable/ic_launcher ').

Because the automatically generated mainfest file with the icon is under the drawable, but carefully observe that folder does not have picture resources, but under the mipmap

Change the icon path.

5, what should be generated in R is not

For example Activity_main cannot be resolved or are not a field

Erase import Android. R

6. Unable to preview layout

For example: This version of the rendering library are more recent than your version of ADT plug-in. Please update ADT plug-in

ADT version is low, the SDK version is high, the SDK version can be lowered.

The above is a small set to introduce eclipse the latest version of the use of the process encountered in the summary, I hope to help you, if you have any questions please give me a message, small series will promptly reply to everyone. Here also thank you very much for the cloud Habitat Community website support!

Related Article

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.