GameSalad

Best Of

  • Re: SOLUTION: You uploaded an APK with an invalid signature - digest algorithm SHA-256 / Signature RSA

    @adent42 said:
    @Japster, sorry about that, the team is a bit backlogged. They should both work. @ForumNinja is checking his test cases again now.

    Thanks @adent42 , @ForumNinja - really appreciated - Apologies for jumping in on this thread, but after seeing you'd responded to Damien I figured I'd try and catch your ear here... :smile:

    I'd love to know if it's just a (fixable) bug or something stupid I haven't done with my testing, but failing that, I'm pretty (alright, REALLY) stumped.... :frowning:

    Maybe I need a valid App Store URL for RevMob before it will work as expected? (I do for Chartboost, apparently, that at present does diddly - no ads, nothing, even though it's set up and integrated for everything other than the app store URL), but I figured in test mode, you wouldn't actually make the app live on the store (doesn't make sense if I need rewarded ads to make sure I can monetise it, and if they aren't live how do the players earn more rewards/turns etc - like I say, that doesn't make sense to me!), and until it's live, any attempt to access/cross-reference it on the app store by RevMob or Chartboost should fail?

    Cheers...

    @gingagaming - Apologies for the mini de-rail of your thread mate, but glad to hear that the guys are taking on board your simpler (and fast!) solution to the problem!

  • Re: SOLUTION: You uploaded an APK with an invalid signature - digest algorithm SHA-256 / Signature RSA

    @gingagaming I've updated the Min SDK Level range to go up to 18!

  • Re: SOLUTION: You uploaded an APK with an invalid signature - digest algorithm SHA-256 / Signature RSA

    @gingagaming doh, forgot about that. I'll look into updating the publishing system to make that more flexible.

    And the High Sierra fix is part of the stability thing :)

    @Japster, sorry about that, the team is a bit backlogged. They should both work. @ForumNinja is checking his test cases again now.

  • Re: SOLUTION: You uploaded an APK with an invalid signature - digest algorithm SHA-256 / Signature RSA

    SHA256 is supported for API levels 18 and higher (Jelly Bean 4.3). If you exclude lower levels, you only loose 6.8% of the market (mostly people stuck on earlier Jelly Bean iterations).

    Since it effects such a small market of much older OSes and there is a manual work-a-round, we're probably not going to fix this issue.

    Getting the new tool up to the standards of the current tool, adding engine features, and fixing High Sierra bugs are all higher priority.

  • SOLUTION: You uploaded an APK with an invalid signature - digest algorithm SHA-256 / Signature RSA

    So I have had a couple of clients contact me with recent issues with publishing and updating Google play apps. It seems there are issues with some older .keystore certs and apps and google are no longer allowing you to update the app (or sign new ones) using the algorithm SHA-256. From my research, it looks like its caused by Java 8 and Sierra and combined with GameSalad using the default Jarsigner of SHA-256 to sign the apps. Maybe @adent could really look into this further as this is a game breaker for people with these .keystore’s as without manual signing, you will not be able to update your apps in Google Play!

    The error that is shown in Google Play is something like this:

    Upload failed
    You uploaded an APK with an invalid signature (learn more about signing). Error from apksigner: ERROR (Jar signer XXX.RSA): JAR signature META-INF/XXX.RSA uses digest algorithm SHA-256 and signature algorithm RSA which is not supported on API Level(s) 10-17 for which this APK is being verified

    Personally I don’t have this issue as my .keystore works without error but for those of you who are experiencing this I have listed an easy way to sign your apps without using the GameSalad signing tool. However to do this you need to use Terminal and therefore should also proceed with caution as Terminal can break your operating system if used incorrectly. So as with anything you stumble on on the internet, please take my instructions as a guide only and always back up your machine and work before attempting this solution.

    Instructions:
    -Generate an UNSIGNED APK
    -Rename the UNSIGNED APK old.apk and delete the signed version to save confusion
    -Place old.apk on your desktop
    -Locate your keystore signing key (the one you normally sign your apps with)
    -Make a copy of it and place it on your desktop for ease of the code below
    -Change the following code so that AAA is your home folder of your computer and BBB to your keystore name (without extension as I have included this)

    jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore /Users/AAA/Desktop/BBB.keystore >/Users/AAA/Desktop/old.apk android

    -Open Terminal and copy/paste the above code and press enter. This will generate a new signed APK called new.apk
    -The change the following code so AAA is your home folder again:

    /Users/AAA/Library/Android/sdk/build-tools/25.0.2/zipalign -v 4 /Users/AAA/Desktop/old.apk >/Users/AAA/Desktop/new.apk

    This will zip align your APK. This path is based on the assumption you have installed the android SDK in the correct position as instructed when installing your Android SDK, if you didn’t follow that instruction, you will have to enter the new path in the above code before exicting it in terminal.

    You will now have a signed app using SHA1withRSA which is zip aligned and can upload this to Google play without error.

    If you are unsure how to use Terminal or feel that this is a little to advanced for you, I can offer this as a service to complete this for you. Just send me a PM or email me directly at damien@gingagaming.com and I can do this for you for a small fee.

  • Re: GameSalad Game Highlights (2016)

    @Two.E great post!

  • Re: GameSalad Game Highlights (2016)

    I'm flattered :) @Two.E

    Thanks for highlights, I learned great games that escaped from my attention. There are lots of quality games you'd not want to miss in this article.

  • Re: GameSalad Game Highlights (2016)

    Great list of games! Let's make next year at least as good!

  • Re: New GameSalad Viewer App Update - Live

    @tatiang sort of. The QR code expires (to prevent people from stealing your projects by passing the code around). Sometime in the future I'd like to make it work with links you can control (a la Dropbox link sharing). So if you want the QR code permanent, you can, if you want it to expire in 30 days, you could too. But thats a little bit off, still got stuff to get the current too up to par and still gotta find what's wrong with the Mac tool!

  • Re: Anime/Manga Illustrator