Can't upload APK to Android Market

vb1992

Well-Known Member
Licensed User
Longtime User
Can't upload APK to Android Market

I am getting this message:


The certificate that signed this apk is not valid until the future. Create a new certificate. Market requires versionName to be set in AndroidManifest.xml.


Any Ideas?

I did do the TOOLS/PRIVATE SIGN KEY
then recompiled without the using the two DEBUG options.
 

vb1992

Well-Known Member
Licensed User
Longtime User
Ok I fixed the Version problem, I had a blank in

Menu / Project / Application Version

Version code (integer): 1
Version String:

I added "0" to Version String

Version code (integer): 1
Version String: 0


and it cleared up

but left me still with:


The certificate that signed this apk is not valid until the future. Create a new certificate.
 
Upvote 0

vb1992

Well-Known Member
Licensed User
Longtime User
Ok what fixed the last two problems was that my clock on my Windows7
was set 3hours ahead, so I set it to the correct time zone, and then had
to generate/create a brand new key, and then that did it.

Hope this helps someone in the future.....
:BangHead:
 
Upvote 0

rfresh

Well-Known Member
Licensed User
Longtime User
How do you use the Private Sign Key feature? I filled it out and clicked on OK but get a msg Invalid File. I don't know what that File browse is for? What file do I need? There is nothing on this in the users manual.

I'm trying to upload my app to Google Play and am getting that can't use a debug cert so I'm trying to make a new one.
 
Upvote 0

rfresh

Well-Known Member
Licensed User
Longtime User
Ok I got the Private Sign Key created and backed it up. I compiled my app but when trying to upload it to Google Play it still says it has the debug cert attached to it!!! Help!!!
 
Upvote 0

rfresh

Well-Known Member
Licensed User
Longtime User
When I open the Private Sign Key dialog I see my file but the fields are not loaded. I select the Load existing file radio button and click ok but it doesn't load it.

When I browse, the file open dialog is looking for *.keystore files but my key file has no file extension. This is confusing. Should the file have a .keystore file extension or not have an extension? If it should then I have to manually add it since it was created without one?
 
Last edited:
Upvote 0

rfresh

Well-Known Member
Licensed User
Longtime User
Thanks...I had to manually add the extension and then load the file and compile. It uploaded ok to Google Play.
 
Upvote 0

Andras

Active Member
Licensed User
Longtime User
I'm having a similar (but annoyingly different!) problem; although the APK file works perfectly well if manually copied to the device, I'm getting the following error message:

The file you uploaded is not a valid APK file. Please check it and try again.

No diagnostics or anything! Any ideas out there? Thanks!

John
 
Upvote 0

Andras

Active Member
Licensed User
Longtime User
Try to use a different browser. It might solve this issue.

An interesting one as I'm actually using Google's own Chrome! I'll give it a try with Firefox and see what happens!

Edit - yes, it works fine in Firefox! That really is strange...

John
 
Last edited:
Upvote 0
Top