How to solve: Error generating final archive in Android: Debug certificate expired on 10/09/18
Problem Overview:
The following error is prompted after an app is imported:
"Error generating final archive: Debug certificate expired on 10/09/18"
Cause analysis:
Android requires that all programs have signatures; otherwise, the program will not be installed. During our development process, ADT uses the debug keystore
Preference-> Android-> buid. The keystore of DEBUG is valid for one year by default.
Android program, When you import this app one year later, it is likely that the debug keystore expires, and you cannot generate an 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:
Go to debug. keystore and ddms. cfg in the C: \ Documents and Settings \ Administrator \. Android deletion path.
(Directories in different environments may be slightly different. You can find this path in Eclipse: window-> preferences-> Android-> default debug keystore under build)
Then re-import.
Problem Overview:
The following error is prompted after an app is imported:
"Error generating final archive: Debug certificate expired on 10/09/18"
Cause analysis:
Android requires that all programs have signatures; otherwise, the program will not be installed. During our development process, ADT uses the debug keystore
Preference-> Android-> buid. The keystore of DEBUG is valid for one year by default.
Android program, When you import this app one year later, it is likely that the debug keystore expires, and you cannot generate an 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:
Go to debug. keystore and ddms. cfg in the C: \ Documents and Settings \ Administrator \. Android deletion path.
(Directories in different environments may be slightly different. You can find this path in Eclipse: window-> preferences-> Android-> default debug keystore under build)
Then re-import.