Summary of issues encountered with new eclipse usage

Source: Internet
Author: User

1, the SDK download is very slow.

Configure the SDK agent to be as fast as flying. It is recommended to 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 has no amount, a lot of blog said there, I found a half-day.

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

The rest is like other blogs that have been imported into the V7 project and the jar package.

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 was changed a little higher.

4, cannot find the icon

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

Because the auto-generated mainfest file has its own icon under the drawable, but look closely at the folder without the picture resources, but under the mipmap

Change the icon path.

5. Something that should have been generated in R.

For example Activity_main cannot be resolved or was not a field

Remove import Android. R

6. Unable to preview layout

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

The ADT version is low, the SDK version is high, and the SDK version is lowered.

Probably that much, hope can help everybody

Summary of issues encountered with new eclipse usage

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.