GreekEagle
Veteran developer
Profile
Posts: 3
Reg: Oct 20, 2013
Scottsdale, AZ
5,380
10/20/13 10:04 PM (12 years ago)

Debug Certificate expired error

I have just configured Eclipse and the Android SDK using the ADT bundle. Added Google API's and all the other stuff that I see in the docs. Created a new project from Existing Code and selected my buzztouch folder. Right clicked it and made sure it is using Google 2.2 (API 8) as the Android build target. I do not see any errors - none. Then when I run as Android ap, it throws the Debug Certificate expired error, with a date and the message that it could not save the final archive. UPDATE: I just created a brand new project in buzztouch, this one with two menu buttons going to two map screens (same as buzztouch U first button). Now instead of one Certificate Expired error, I have two!! I confirmed that the NEW certificate that I created for each of my two aps expires 25 years from now. But both have the same error now. UPDATE 2: Just to see if the issue is Buzztouch related or not, I downloaded the SDK samples for Android 18. Guess what? Same issue with that project. So it looks like this is coming from the bundle install. I am thinking that I need to remove Eclipse and the ADP from my computer and install one thing at a time - much longer process, but less likely to have a built-in issue like this. Anybody agree? Who do I report this to?? Anybody have any ideas??? Thanks!
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
10/20/13 10:18 PM (12 years ago)
Have generated your debug key? You may need to re-create one. Check through GoNorthWest's tutorial and see if it can help... https://www.buzztouch.com/files/howtos/Signing_Android_Apps_v1.0.pdf Cheers! -- Smug
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
10/21/13 12:17 AM (12 years ago)
The installation and use of the ADT Bundle should automatically generate the default debug.keystore that every install has. And it should be good for something like upwards of 25 years. Perhaps it got corrupted or something. It's easy enough to generate a new one though! Mark
 
GreekEagle
Veteran developer
Profile
Posts: 3
Reg: Oct 20, 2013
Scottsdale, AZ
5,380
like
10/21/13 07:05 AM (12 years ago)
Thank you for your suggestions... but no luck! I went through the steps to create a new certificate. It was a little different because of the new interface for ADT Bundle, but I verified that the debug.keystore is there as well as the project's .apk file. Still when I try to run as Android ap, the same error pops up. "Error generating final archive: Debug Certificate expired on 3/24/12 8:47AM" Any other ideas??? thanks!
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
10/21/13 08:52 AM (12 years ago)
 
GreekEagle
Veteran developer
Profile
Posts: 3
Reg: Oct 20, 2013
Scottsdale, AZ
5,380
like
10/21/13 09:05 AM (12 years ago)
THANK YOU! What I learned from the last post by GoNorthWest was that there is more than one debug.keystore! The one that really counts is created in the username/.Android folder - so the one that I was modifying, re-creating, and wrestling with was having no effect whatsoever. Now, I have a brand new debug.keystore, in a place I picked, and with a 30 year life. And all the projects now are error free. Thanks again!!!
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
10/21/13 09:08 AM (12 years ago)
Rock on! The default one...and there should only be one...is automatically created by Eclipse when you go to run your app. But you can also use your own debug keystore, or even the release keystore, for testing or whatever. The key here is that it has to be signed somehow. In any event...glad you got it worked out! Great job! Mark
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.