Error Handling in Android development Eclipse

Source: Internet
Author: User

1. Error generating final archive: Debug Certificate expired on

In the Eclipse menu Window-> Preferences-> Android-> Build, find the path displayed by Default debug keystore, Which is debug. the keystore file (expired) has expired, and its path is the article "build the Android environment and related command token.

Therefore, in either Windows or Linux, you only need to delete this debug. keystore. Eclipse will automatically generate a new one, which is also valid for one year by default.

 

2. Android Error: Unable to open class file R. java

Solution:

The "Build Path" for your Java environment is not setup correctly in Eclipse. To fix this, follow these steps:

1) Open the Preferences Window by clicking "Window-> Preferences"

2) Find the "Java" sectionand expand it

3) Select "Build Path"

4) Change the value of Source and outputfolder from Folders to "Project"

5) Click Apply and then "OK"

Your problem shocould be resolved!


From the ch_jinyi Column

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.