Solution to the Red Cross of Android projects in Eclipse IDE

Source: Internet
Author: User

 

In fact, it's just a summary post in the following post. There's nothing new!

There is always a Red Cross in the android project, but there is no error! ---- Http://topic.csdn.net/u/20100831/17/71678b5c-1de2-4ff2-b587-6e5a937f79b4.html

 

 

First, let's take a look at the output content of several windows. Different error logs should adopt different methods and use various methods flexibly!

1> menu path ---- Window/show view/console

2> menu path ---- Window/show view/Error Log

3> menu path ---- Window/show view/problems

 

The common method for eliminating the Red Cross is just a summative thing. Don't be too real!

1> the project is deleted from the project list (not from the disk) and re-imported once.

2> clean/refresh the project and re-compile it.

3> Delete the gen directory under the project and re-compile it again, or delete R. Java and re-compile it again.

4> check whether the resource files in the res directory are correct, whether the image format is supported, and whether the main. XML + strings. xml contains syntax errors or writing errors.

5> check whether there are syntax errors or writing errors in the configuration file androidmanifest. XML + default. properties + proguard. cfg.

6> use the fix project properties tool in the android Tools menu to modify the selected project/attribute.

7> select a project/attribute to check whether the configuration of your project is faulty. For example, you have not selected an SDK package, the library path is incorrect, the library file does not exist, or the environment variable is not configured correctly.

8> Save the *. Java file of the project, and create a new project on this basis.

9> error generating final archive: Debug certificate expired on date Solution

Go to c: \ Documents ents and Settings \ Administrator \. Android to delete: Debug. keystore and ddms. cfg and re-open eclipse. What is the time limit of the private key involved?

10> The Eclipse IDE cannot be opened. It is reported that the. Metadata folder requires reading the log file. You can directly Delete the. Metadata folder and then open it.

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.