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