Friday

“Debug certificate expired” error in Eclipse Android plugins


This problems faced every android developer, who started to develop android application using eclipse IDE. I also faced many times, whenever run project.
So, I just copy these answers from statoverflow, this problem's solution clearly described.


Deleted debug certificate
# Windows:
      - C:\user\[username]\.android\debug.keystore

# Linux and Mac
   -  ~/.android/debug.keystore


The Eclipse plugin should then generate a new certificate when you next try to build a debug package. You may need to clean and then build to generate the certificate. (Source:Christopher Orr)

Don't panic, It will also be re-generated for the current project if you 'clean' the project (go to Project -> Clean...)

Another aspect:
Upon installation, the Android SDK generates a "debug" signing certificate for you in a keystore called debug.keystore. The Eclipse plug-in uses this certificate to sign each application build that is generated.
Unfortunately a debug certificate is only valid for 365 days. To generate a new one you must delete the existing debug.keystore file. Its location is platform dependent - you can find it in Preferences - Android - Build - Default debug keystore. (Answers from: Jeff Gilfelt)


0 comments

Posts a comment

Related Posts  www.prandroid.com...
 
© 2011 Android Programming Tutorails | 2012 Templates
Designed by Blog Thiết Kế
Back to top