Redo the Android Certificates feature [Jon]

Jon

  • *
  • Posts: 17524
I've created an all-in-one utility that, in one swoop, will do all of the Android "certificate" generation for you.

Just go to Settings > Mobile > Android Certificates. Click the button and let it handle the rest.

The password field has to be at least 6 chars long.

As for the rest, it now has the requisite fields required to sign an Android app. Was missing some stuff before or making faulty assumptions.

« Last Edit: October 16, 2012, 11:42:28 pm by Jon »

Jon

  • *
  • Posts: 17524
This is now done and ready for testing.

The certificate generation process is extremely simple compared to iOS, and you *DO NOT* need to fill in any of those fields manually. Simply going through the process will auto-fill in the fields. You only need to fill the fields in if you made the keystore on your own.

Innes

  • *
  • Posts: 1960
That's fantastic Jon, I can't wait to test it.

Why does Apple have to make iOS certification so convoluted? (rhetorical question!)
Visit www.TheStencylBook.com - the only published book for learning Stencyl.

vetie

  • Posts: 4
I've created an all-in-one utility that, in one swoop, will do all of the Android "certificate" generation for you.

Just go to Settings > Mobile > Android Certificates. Click the button and let it handle the rest.

The password field has to be at least 6 chars long.

As for the rest, it now has the requisite fields required to sign an Android app. Was missing some stuff before or making faulty assumptions.

Hi Jon,

Just tested the .Keystore generation on my Mid 2011 Macbook with Mountain Lion and Android GS3 4.0 (ICS) and it worked perfectly!!

Filled out the required fields
System prompted that the file was created
System populated the .Keystore file information (location, password, etc)
Hit the "Publish" key (Android selected)
Compiled
System asked me to name and select a location for my signed APK file
Sent signed APK file via DropBox to my GS3
Installed APK
Launched APK with no problems

You couldn't have made this any easier. Great JOB!!!

Jon

  • *
  • Posts: 17524
Glad to hear that it works well for you. :)

I wish very much that I could replicate this experience for iOS / Mac Store.

1MrPaul1

  • *
  • Posts: 1285
When I tried publish to android first time, certificate generated to the android SDK location, but after generation I have message that path of certificate not exist. Because I do not have android SDK yet. May be firstly to check SDK only than ask for certificate?

Jon

  • *
  • Posts: 17524
You don't need the Android SDK, but you need the Java JDK, which it prompts you about before running this. Since I'm on a Mac, it's impossible to actually test that that works - but it's running the very same code it uses on the Android SDK installer when that checks for Java.

1MrPaul1

  • *
  • Posts: 1285
But stencyl ask this path after generation of the key D:\(stencyl beta folder)\stencylworks\android-sdk\\android-sdk-windows\stencyl.keystore
without it I can't found generated key. Only when I create manually folder with android sdk names, and generate key again stencyl create key in those path and stop showing error about not existed certificate.
But anyway compilation failed because of some build error this is why I thought that sdk is also needed.

NGS

  • Posts: 66
I can confirm i experienced this issue.

I got around it because i have unity 3d android license and pointed it to the existing keystore.  When i did that, Stencyl was able to see that i was missing 2 java files and auto download + install them.

Only after you get stencyl to download those 2 files, does the location show:
(stencyl beta folder)\stencylworks\android-sdk\\android-sdk-windows\stencyl.keystore and actually have something there

*EDIT*

Also having intermittent luck with getting apks successfully signed with the keystore, regardless of who generates it and the associated alias/password.  I know the log says keystore tampered with or bad password, but i have not tampered with it.. and with a simple username/password variations of 'alias' and 'password'

« Last Edit: December 27, 2012, 07:17:29 pm by NGS »