IntelXDK > Cocoon.io (not same keystore apk sign)

0 favourites
From the Asset Store
2D fighting template based in the game that defined the fighting games genre.
  • Hello,

    I'm fucked,

    I published on Google Play Store my APK built with IntelXDK.

    Now i want to use cocoon.io (+APK signer) to build my APK and when i publish (update my application) on Google Play Store i have an error because my old APK doesn't have the same keytore that my new build...

    How to resolve please ?

    Best regards

  • Goto this page https://appcenter.html5tools-software.i ... xport.aspx and login (if asked) using your Intel XDK account credentials. You may have to go back to that location a second time after logging in (do this within the same browser tab that you just logged in with to preserve your login credentials).

    If successful, there is a link that, when clicked, will generate a request for an "identification code" for retrieving your keystore. Pushing this link will cause an email to be sent to the email address registered to your account. This email will contain your "identification code" but will call it an "authentication code," different term but same thing. Use this "authentication code" that you received by email to fill in the second form on the web page, above. Filing in that form with the code you received will take you to a new page where you will see:

    a "Download keystore" link

    your "key alias"

    your "keystore password"

    your "key password"

    Make sure you copy down ALL the information provided! You will need all of that information in order to make use of the keystore. If you lose the password and alias information it will render the key useless!

    If the above fails, please send an email to html5tools@intel.com requesting help. It is important that you send that email from the email address associated with your Intel XDK account.

    i get it there but i never use it <img src="{SMILIES_PATH}/icon_rolleyes.gif" alt=":roll:" title="Rolling Eyes"> because cocoon was giving me trouble to complie my games... but the key should work

  • wizdigitech Thanks for the instructions but I am having some trouble signing my app on cocoon. I downloaded the key-store and inputted all the passwords but I am receiving "signing Android project error". Any ideas?

  • same here bro and the moderator then over cocoon.io say they cant do anything about intel keystore. The dumbest thing they say is to make a new keystore smh

    i yet to try to get the detail from the intel keystore file to make a new one

    i think intel keystore is jre and not jdk file why cocoon give error

  • I had the same error. The keystore file from IntelXDK is fine, but somehow is not compatible with Cocoon.io's build system.

    So I tried to zip and align my app in my PC using Apk-Signer, following the instructions of this guide:

    https://shatter-box.com/knowledgebase/a ... pk-signer/

    unfortuantely, the Apk-Signer also failed, but this time I received a more meaningfull error:

    "jarsigner error: java.security.SignatureException: private key algorithm is not compatible with signature algorithm"

    So, after Googling that, what I finally did was this:

    1. I build my App on Cocoon.io chosing unsigned.

    2. I downloaded the apk on my PC and zipped + aligned it with the keystore from IntelXDK using jarsigner and SHA1withDSA algorithm.

    3. I uploaded the new version of my app on Google play and voila it worked just fine!

    If anyone wants to follow that root I can write here the exact 2 commands I used to zip and align my app. I saved these in case I need them again.

    *Sorry for my poor English...

  • seopolis what is the link to download jarsigner and SHA1withDSA algorithm

    If anyone wants to follow that root I can write here the exact 2 commands I used to zip and align my app. I saved these in case I need them again.

    yes i REALLY need it and the jarsigner thanks

    ciaphuas seopolis answer your pray lol he want it also

  • 1. Open these 2 tutorials for your reference:

    https://shatter-box.com/knowledgebase/a ... pk-signer/

    https://www.scirra.com/tutorials/861/ho ... id-app-apk

    Be sure that you have installed Java jdk 8.0 and Java JRE 8.0 and you have defined your environment variables correctly.

    Note that jarsigner is part of the JDK, and resides inside this folder: C:\Program Files\Java\jdk1.8.0_71\bin

    2. Build your app on Cocoon.io without signing it there and download it on your PC.

    3. Run this command to sign your app:

    jarsigner -verbose -sigalg SHA1withDSA -digestalg SHA1 -keystore PATH/TO/YOUR_RELEASE_KEY.keystore PATH/TO/YOUR_UNSIGNED_PROJECT.apk YOUR_ALIAS_NAME

    It will ask for password, write your keystore password (I use same pass for storepass and keypass).

    If you have different storepass and keypass passwords, then the above command should look like this:

    jarsigner -verbose -sigalg SHA1withDSA -digestalg SHA -keystore PATH/TO/YOUR_RELEASE_KEY.keystore -storepass YOUR_STORE_PASS -keypass YOUR_KEY_PASS PATH/TO/YOUR_UNSIGNED_PROJECT.apk YOUR_ALIAS_NAME

    Ok your app is signed.

    * If you have 2 versions of your app (x86 and armv7) run the above command for both .apks.

    4. Now we align the apps:

    zipalign -v 4 PATH/TO/YOUR_SIGNED_PROJECT.apk PATH/TO/YOUR_SIGNED_AND_ALIGNED_PROJECT.apk

    5. Upload your apk to Play Store. It worked for me fine.

    Good luck!

  • thanks bro

  • seopolis Awesome! Thanks for figuring this out and providing instructions

  • got a question, when i sign the apk, it shows

    Warning:

    No -tsa or -tsacert is provided and this jar is not timestamped. Without a timestamp, users may not be able to validate this jar after the signer certificate's expiration date (2042-11-08) or after any future revocation date.

    although I can not zipalign, I already add the path to environment , but still can not recognized.

    please help, thanks

  • i just ignore that error

  • wizdigitech thanks, got the apk signed, but I do not know why installed the signed apk failed on my phone

  • your welcome bro

    delete the sign and unsigned apk file and do it over with a fresh unsigned apk that is what i do to fix that

  • wizdigitech I do the same thing, but still can not install, what do you mean with a fresh unsigned apk, please help, thanks

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • seopolis hi, can you install your apk successfully?

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