Since a few days, I can't generate an APK file anymore.
The first strange thing is that the issue is only happening on this project, not on the others.
The second strange thing is that I still can generate an IPA file within the same project.
The certificate for this project is 2 years old, but was generated with a 30 years validity.
creating a fresh project and using the existing source files + certificate + options in .bat files below doesn't change anything
FlashDevelop 18.104.22.168 (fresh re-install)
flex/air sdk 4.6.0+23.0.0
Packaging publication\apk\[...].apk using certificate "bat\Android.p12"...
unable to load a certificate in this file
Extracted code from my .bat files :
set SIGNING_OPTIONS_APK=-target apk-captive-runtime -storetype pkcs12 -keystore %CERT_FILE% -storepass %CERT_PASS%
set SIGNING_OPTIONS_IPA=-target ipa-test -storetype pkcs12 -keystore %APPLE_CERT_FILE% -storepass %APPLE_CERT_PASS% -provisioning-profile %APPLE_PROVISION%
:: Application descriptor
:: Files to package
set FILE_OR_DIR=-C %APP_DIR% .
:: Path to Flex SDK
set FLEX_SDK=W:\Dev\SDK and Compiler\4.6.0+23.0.0
:: Use FD supplied SDK path if executed from FD
if exist "%FD_CUR_SDK%" set FLEX_SDK=%FD_CUR_SDK%
echo Packaging %OUTPUT% using certificate %CERT_FILE%...
call adt -package %SIGNING_OPTIONS_APK% %OUTPUT% %APP_XML% %FILE_OR_DIR%
echo Packaging %OUTPUT% using certificate %APPLE_CERT_FILE%...
call adt -package %SIGNING_OPTIONS_IPA% %OUTPUT% %APPLE_APP_XML% %FILE_OR_DIR%