"Invalid keystore format"

166221-error.log (599.1 KB)
Hello!
Basically I keep getting this error while building the app. I generated the key using
keytool -genkey -v -keystore aaa.keystore -alias aaa -keyalg RSA -keysize 2048 -validity 10000
The package identifier name is set as default: com.{myappname}.app

Hi, I would check are you using JDK 15?

I am using jdk 16.0.1

Okay, as it says in the docs, using JDK 16 to generate the keystore file seems to cause build failures, so I would recommend downgrading to JDK 15 and trying to generate the keystore file again.

166233-error.log (598.9 KB)
I tried with the keystore generated with jdk 15.0.2 but I get the same error

Okay – I have one more suggestion what could be wrong, does your keystore file have a password? Without one it won’t work

yes it does, both passwords are identical

I use JDK 14 and it looks like this:
keytool -genkey -v -keystore myappname.keystore -alias myappname -keyalg RSA -keysize 2048 -validity 10000