Errors are reported for all projects in eclipse -- Solution for Red Cross Projects

Source: Internet
Author: User

Today, I encountered a very depressing situation. All the new projects in eclipse are highlighted in red. At first, I thought I was probably because I have been configuring the ndk development environment for the past two days, is it because I accidentally configured the place, and then the project will show a Red Cross when creating a new project. Then I cleaned up and suffered a big cake, and all the projects failed.

Open the following error prompt:


The error indicates that debug certificate has expired. Baidu once encountered a similar problem, saying that the time limit of a private key was involved.

Solution:Go to c: \ Documents ents and Settings \ Administrator \. Android to delete: Debug. keystore and ddms. cfg, re-open eclipse, and then clean up.

Note: OpenEclipseOfProblemView (if disabled, you canWindow-> Show ViewFindProblemView), and then you can see the root cause of the project in the view.

Cause Analysis: Android requires allProgramA signature is required. Otherwise, the program will not be installed. During our development process, ADT uses debug keystore and sets it in preference> Android> buid in eclipse. By default, the debug keystore is valid for one year. If you started Android development from a year ago, the debug keystore may expire after one year, this may lead to engineering errors or the inability to generate APK files. (think about the development of Android applications that I started at this time a year ago ).

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.