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

0 favourites
  • 8 posts
  • 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

  • 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.

    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

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

    Hope this helps. Good luck

  • Great! Thanks for this I will try it out as soon as I get the chance today and will post my results. Many thanks!

  • 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!

  • 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. <img src="{SMILIES_PATH}/icon_cry.gif" alt=":cry:" title="Crying or Very Sad"> <img src="{SMILIES_PATH}/icon_cry.gif" alt=":cry:" title="Crying or Very Sad">

    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.

    [quote:36wbyx6e]----------------------

    Here is another method using a keystore generator

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

    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.

  • 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.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • hello frnd if u made any facebook login for your gAME??

  • Not yet no

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)