1. The SDK download is very slow.
Configure the SDK proxy, the speed is like flying. It is recommended to finish 20-24 first, otherwise you will encounter many problems.
2. Problems with support-v7
For example res/values/styles.xml:4: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light.DarkActionBar'.
Download the related toolkit, but in fact, there was no SDK at the beginning, and many blogs said that there were, which made me search for it for a long time.
Right-click your project, there is Android Tools below, and click Add Support Lib. . . , and then follow the prompts to download.
The rest is like other blogs that import v7 projects and jar packages
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 given name 'android:Widget.Material.ActionButton'.
To change it in v7 project, change the target version of project.properties under v7 project to a higher level
4. The icon cannot be found
For example error: Error: No resource found that matches the given name (at 'icon' with value '@drawable/ic_launcher').
Because the icons that are automatically generated from the mainfest file are drawnable, but if you look closely at that folder, there is no image resource, but under mipmap
Just change the icon path.
5. There is nothing that should be generated in R
For example activity_main cannot be resolved or is not a field
Delete import android.R;
6. The layout cannot be previewed
For example: This version of the rendering library is more recent than your version of ADT plug-in. Please update ADT plug-in
The ADT version is low and the SDK version is high. Just lower the SDK version
The above is a summary of the problems encountered during the use of the latest version of Eclipse introduced by the editor. I hope it will be helpful to everyone. If you have any questions, please leave me a message and the editor will reply to everyone in time. Thank you very much for your support to Wulin.com website!