I give up, I will wait for any new developments or updates here or the GS versions
apksigner sign --ks nk.testkey.keystore --ks-key-alias nk_games_testkey 140d2_zipaligned.apk
Keystore password for signer #1:
Failed to load signer "signer #1"
java.io.IOException: Invalid keystore format
at sun.security.provider.JavaKeyStore.engineLoad(Unknown Source)
at sun.security.provider.JavaKeyStore$JKS.engineLoad(Unknown Source)
at sun.security.provider.KeyStoreDelegator.engineLoad(Unknown Source)
at sun.security.provider.JavaKeyStore$DualFormatJKS.engineLoad(Unknown Source)
at java.security.KeyStore.load(Unknown Source)
I have done some search, I believe the problem lies in that I was likely using an old keytool from an old version of java. To resolve it I guess I will need to create a new key etc
As of this moment I am still unable to sign and submit to Google Play. I will follow here and any helps are much appreciated...
Have you previously submitted a version of the app (i.e. will creating a new keystore be a problem for you?
Contact me for custom work - Expert GS developer with 12 years of GS experience - Skype: armelline.support
@NKBDL when we fix the tool it won't solve your issue, since we're going to be using the same tools (notice that our app signer points to existing tools.
If you PM me your keystore (not the password, I just want to look at the format), I might be able to come up with instructions to convert it.
@adent42 This may be a really stupid question but here goes anyway; Is it good practice to update Java every time an update is available or is there a risk we can break something related to GameSalad app signing if we jump the gun so to speak. Hope that makes sense.
@adent42 Thank you I will send it to you for checking. Part of me wanted to use GS is to get rid of the coding, so hopefully things will be easy (or if someone can make a tool to make things really simple that d be cool)
@strag Yes I have the same in mind, seriously I have been switching consoles and going here and there with my laptop, desktop etc and sometimes the HTML5 creator online. I am unsure which settings or which computer has upgraded or not. Also, the keystore I had it for years... Wasn't expecting a change to that but I guess it did. Appreciated if we can like have like really easy checkers (say reminders in form of a list or something on GS, or somewhere) that d be really cool. Just let GS or some console know what you have, and they do the rest and remind.
Anyways, glad to see so much helps and passion with our forums. I will try again or create a new keystore... (I honestly forgot how it was done already...)
Can anyone who successfully signed let me know what their keystore format is like? Thank you so much.
Mine was created like a few years back, but I was unsure of what keytool or java versions it was created with...
Keystore type: PKCS12
Keystore provider: SUN
Your keystore contains 1 entry
nk_games_testkey, Mar 29, 2018, PrivateKeyEntry,
Certificate fingerprint (SHA1): xxxxxxxx (I just cut this off in case I shouldn't show this to public)
So instead of using the latest build-tools of 30.0.0, I referenced to one of the suggested example of using build-tools 28.0.3:
The first command was successful:
zipalign -v -p 4 140d3.apk 140d3_zaligned.apk
The second command was also successful as well (I tried without the --in and --out it won't work, so advised to put it in).
apksigner sign --ks nk.testkey.keystore --ks-key-alias nk_games_testkey --in 140d3_zaligned.apk --out 140d3_zaligned_signed.apk
I am running it on Windows. Also I had to use the "Build RC" button instead of "Generate APK" from the portfolio otherwise GooglePlay will tell you you have some 64 bit issues with your codes.
So I believe there are some new updates beyond build-tools 28.0.3. For those of you who got some strange errors like me, I will glad to share. Just ask here. Cheers.
I uploaded it to Google Play all is ok now aside some expected warning messages.
@NKBDL so I'm not 100% sure but this might help: https://stackoverflow.com/questions/19829630/signing-apk-with-p12
@strag I'm working on some android binary fixes, but once we get to this apksigner, I'll look into putting more checks. I think the best solution (at least for a subset of users) is to handle signing on the server. That way, we constantly keep up-to-date.
As for Java versions vis-a-vis GameSalad signing. I believe we ask you to stay at Java 1.7 ATM. The reason is after that the jarsigner tool changed some command line parameters and / or locations.
Since we can no longer using jarsigner, I think you can get the latest Java version that works with your version of Android Studio.
@adent42 Thank you. I will bookmark this post and come back to it when I have issues with the signing. Cheers!
Thanks @adent42 for the clarification 👍️
I've not checked in on Gamesalad in quite some time - and trying to get back up to speed with the it's current state...
Has this signing issue now been resolved in the latest version of Creator? And if not is there a fix in the works? It looks like a real headache to me!
Looks like you just need to change the directory you pointing to to the downloads folder
Before running the second command try
cd C:\Users\indra Aziz\Downloads
This is going to seem ridiculous to some, but can someone provide a link to where i can download java 1.7 for a macbook .
Catalina . version 10.15.4
Im not very familiar with Java at all.
Hey @adent42 any update on this? I had one of my apps built with GameSalad removed from the Google Play store "because it uses software that contains security vulnerabilities and violates our Malicious Behavior policy."
Website ∞ Twitter ∞ My apps are available on: Apple iOS App Store ∞ Google Play App Store ∞ Amazon App Store
The closest thing I've found is one of the ad networks, so disable IronSrc (or disable Maio on IronSrc I think).
I don't use IronSrc for any of my apps. Just Admob on that one.
@8BitAvrin can you DM me your game's publishing link so I can take a look at the option mix? Thanks
@adent42 sent, thanks for looking into this!
Thanks NKBDL :-)