Error description:
Error generating final archive: Debug certificate expired on 11-10-20
Cause analysis:
Android requires that all programs have signatures; otherwise, the program will not be installed. During our development process, ADT uses debug keystore and sets it in preference-> Android-> buid. By default, the debug keystore is valid for one year. If you finish the android program from a year ago, the debugkeystore may expire when you import the app one year later, causing you to fail to generate the APK file.
Now you only need to delete the debug keystore, and the system will generate a private key valid for one year for you.
Solution:
In the eclipse menu window-> preferences-> Android-> build, findDefault debug keystoreDisplayed path,
Delete the Debug. keystore file in the path, clean the project, and re-compile the project.
(Directories in different environments may be slightly different. You can find this path in Eclipse: window-> preferences-> Android-> default debug keystore under build)