openfl

Open full view…

Trying to update Android AIR game with OpenFL game

vasco
Mon, 03 Nov 2014 02:38:02 GMT

I made a game for Android with Adobe AIR a few years ago, and now I would like to update the app with a new version I made with HaxeFlixel. The problem is in the certificate - for the AIR version I used a certificate in "p12" format, and since it seems I need to use "jks" format with OpenFL (correct me if I'm wrong), I converted it to jks, using this guide: https://www.tbs-certificates.co.uk/FAQ/en/626.html It seems to have converted well, but when I try to update the apk for Google Play, it says that the certificate doesn't match. Any idea on what could be going wrong? Thanks in advance.

vasco
Sat, 08 Nov 2014 02:15:58 GMT

So just for the record, I was able to solve the problem by removing the certificate from the apk, and signing it again with the jks certificate, with jarsigner. I basically followed this: http://stackoverflow.com/questions/3267216/can-i-re-sign-an-apk-with-a-different-certificate-than-what-it-came-with So the problem had something to do with how the app was signed, not the certificate. I don't know if that's at all related to OpenFL, probably not.