How do I generate a keystone for android to use with PhoneGa

Get help using Construct 2

Post » Fri Jun 02, 2017 11:38 am

Hi there,

I have been using C2 now for several months developing and app for my business. I have gotten to the stage where I want to upload an alpha version to the google play store so I can delegate testers to use it. To do this I have exported my app from C2 through Cordova. I then compressed and created a zip file for PhoneGap to create an .apk file. This works and it creates a working file with debugging. I then download this file ready for upload to the google play console and upload it. It attempts to upload and then i get an error message stating that:

"Upload Failed - You uploaded a debuggable APK. For security reasons you need to disable debugging before it can be published in Google Play. Learn more about debuggable APKs.

You uploaded an APK that was signed in debug mode. You need to sign your APK in release mode. Learn more about signing".

I have since learnt that in order for PhoneGap to produce an .apk file that is for production and not testing (with debugging), I requre a keystone. I have trawled the web to find answers on how to do this and can't seem to find any that work. I have followed various tutorials with no sucess and am now at a loss as where to look next for the solution. I have seen people mention a java program or code that you need to run in order to generate the code, however, I can't seem to get this to work either.

Has anybody else out there experienced similar problems as myself and found a soultion to it? Im sure generating a keystone for use with PhoneGap shouldn't be that difficult shoud it??

Many thanks,

Dan
B
5
Posts: 24
Reputation: 273

Post » Sat Jun 03, 2017 12:24 pm

@RogerThompson

Generating keystore shouldn't be a problem now. You can easily generate it in two ways.

Download intel XDK: then use it to generate an unlimited number of keystore, then download load it. you can find the download link at the upper right corner, click on the user icon to show the dropdown menu of your generated keystore keys. click on the arrow pointing down to dl a particular keystore.

Image

here's a tutorial on how to generate a keystore using xdk:
https://youtu.be/_hEnuQca_8o?t=4m45s

----------------------
Here is another method using a keystore generator

https://www.youtube.com/watch?v=JEIkYNACn98&t

==================

Hope this helps. Good luck
B
47
S
14
G
20
Posts: 87
Reputation: 12,913

Post » Tue Jun 06, 2017 8:12 am

Great! Thanks for this I will try it out as soon as I get the chance today and will post my results. Many thanks!
B
5
Posts: 24
Reputation: 273

Post » Tue Jun 06, 2017 8:27 am

Just downloaded Intel XDK and got this message straight away:

"The ability to create and import Android and iOS keystores and certs has been disabled. You can still use and download existing certs".

Wonderful!! People are not happy be the seems of things!
B
5
Posts: 24
Reputation: 273

Post » Tue Jun 06, 2017 11:11 pm

RogerThompson wrote:Just downloaded Intel XDK and got this message straight away:

"The ability to create and import Android and iOS keystores and certs has been disabled. You can still use and download existing certs".

Wonderful!! People are not happy be the seems of things!


Unfortunately Intel XDK included the key generator in the features to be deprecated just the other day. I thought XDK's latest update will be able to generate keys locally in your computer, but I guess it's cloud based. Sorry about that. :cry: :cry:

Let me guess, you haven't tried the second method I mentioned in my previous post? IT IS THE EASIEST METHOD TO CREATE KEYSTORE! You only have to install java developer kit, download the key generator and run it. This method is the one that I've been using since 2014 up to now (2017) and it never failed me.

----------------------
Here is another method using a keystore generator

https://www.youtube.com/watch?v=JEIkYNACn98&t

==================


P.S. If still you can't generate a key with this method, then you're DONE! Better get somebody to create keys for you.
B
47
S
14
G
20
Posts: 87
Reputation: 12,913

Post » Wed Jun 14, 2017 9:59 am

This worked! Many thanks. All I have to do now is pay a fee to register with PhoneGap to unlock the file for publishing and I should be ready to go live. Thanks for your help again.
B
5
Posts: 24
Reputation: 273

Post » Wed Jun 14, 2017 10:16 am

hello frnd if u made any facebook login for your gAME??
B
8
S
1
Posts: 7
Reputation: 416

Post » Wed Jun 14, 2017 12:34 pm

Not yet no
B
5
Posts: 24
Reputation: 273


Return to How do I....?

Who is online

Users browsing this forum: Lancifer and 21 guests