Ubuntu with Eclipse new project and compilation, the following error prompt: [2011-12-11:23:06-MyOpenGLES] Errorgeneratingfinalarchive: Debugcertificateexpiredon11-2-05! Cause Analysis: Android requires that all programs have signatures; otherwise, the program will not be installed. In the development process, ADT
The following error message is displayed when you use Eclipse to create and compile a project in Ubuntu:
[11:23:06-MyOpenGLES] Error generating final archive: Debug certificate expired on 11-2-05 am!
Cause analysis:
Android requires that all programs have signatures; otherwise, the program will not be installed.
During development, ADT uses debug. keystore,
In the Eclipse menu [Window]-> [Preferences]-> [Android]-> [Build]-> "Default debug keystore"
The debug. keystore file in the path shown in has expired.
Debug. keystore is valid for one year by default. If you develop android programs from a year ago,
After one year, the debug. keystore expired, causing you to fail to generate the apk file.
Solution:
You only need to delete debug. keystore and ddms. cfg, and the system will generate a debug. keystore valid for one year,
In the Eclipse menu [Project]-> [clean], clear the Project and re-compile it.
Create a custom keystore:
[File]-> [Export...]-> "Export android application" under "Androd"->
"Select the project to export"-> "Keystore selection", Select "Create new keystore", and then add as prompted!