Air keystore to android doesn't work with new haxe and openfl


hi i am upgrading all my projects from olders versions of haxe, but i have a older project that use to begining in android a automatic air keystore from flash cs4, this keystore was working until haxe 3.2.0 …

The problem is that air keystore launch me the next error when i try to sign the app:

 * What went wrong:
  Execution failed for task ':app:packageRelease'.
> Failed to read key 1 from store "C:\....\air_key.keystore": Unable to initialize, DerInputStream.getLength(): Redundant length bytes found

There is anyway to fix this?


Could you check what version of Java you are using?


i have this configuration with lime setup android:

Path to Android SDK [C:\Development\Android SDK]:
Path to Android NDK [C:\Development\Android NDK]:
Path to Java JDK [C:\Program Files\Java\jdk1.8.0_151]:

and the cmd java -version:

java version "9.0.1"
Java(TM) SE Runtime Environment (build 9.0.1+11)
Java HotSpot(TM) 64-Bit Server VM (build 9.0.1+11, mixed mode)


Here’s another link I found :slight_smile:


i am going to try how that goes, thanks