Getting error 256 on APK build

Hi.  I have an application and I want to build it for publishing in play market. I’ve generated keystore file and in corona I give the path of the keystore. But when I want to build it, I’m getting error like this. 

BUILD FAILED /Applications/CoronaSDK-3326/Corona Simulator.app/Contents/Resources/ build.xml:525: The following error occurred while executing this line: /Applications/CoronaSDK-3326/Corona Simulator.app/Contents/Resources/build.xml:417: Failed to sign the APK. ERROR: Build Failed: Error code: 256

So when I building apk in debug mode (using debug.keystore provided by corona) everything works fine. 

So I think maybe the problem is in my keystore file. I generated it in terminal using this comman (I’m working in mac).

keytool -genkey -v -keystore mykeystore.keystore -alias aliasname -keyalg RSA -validity 999999

So what am I done wrong? How can I fix it? Thank you.

Having the same issue. I suspect it’s to do with the Java upgrade…

I would highly suggest updating to a much later daily build.

Rob

Converting the keystore to a newer format fixed this for me. See:

https://forums.coronalabs.com/topic/75680-build-failed-error-code-256/#entry399413

Having the same issue. I suspect it’s to do with the Java upgrade…

I would highly suggest updating to a much later daily build.

Rob

Converting the keystore to a newer format fixed this for me. See:

https://forums.coronalabs.com/topic/75680-build-failed-error-code-256/#entry399413