The project on cordova 6.3.1 worked well for me.
Then I updated the cordova and my project to 6.4.0. After that, the first time I built, gradle also automatically updated.
Now I have an important problem:
I need to include passwords for the keystore and aliases in the build.json file, or generating the apk release is not with an error.
I am using the build.json file as follows:
{ "android": { "debug": { "keystore": "C:\\Path\\To\\Keystores\\debug.keystore", "storePassword": "debugpass", "alias": "thedebugalias", "password" : "debugpass", "keystoreType": "" }, "release": { "keystore": "C:\\Path\\To\\Keystores\\theapp.keystore", "storePassword": "", "alias": "thealias", "password" : "", "keystoreType": "" } }
}
And then run this command to generate release apk:
cordova build android --release --buildConfig=build.json
So far, this has worked well, and it has prompted me to enter key and alias passwords. And then built apk ok.
After upgrading to Cordova 6.4.0, it no longer works. It never asks for passwords, and then the build process fails because "the keystore has been changed or the password is incorrect."
If I include passwords in the build.json file, apk release will be generated normally, since it already has passwords and there is no need to request them.
I do not like to have the keystore passwords in text form in the build.json file. Has anyone experienced the same problem? Any ideas on how to fix this?
Thanks.
EDIT: I noticed another problem. It does not show my icons and screensavers. EDIT: This last issue regarding not displaying icons and splash screens is a bug in the new version of Cordoba, and it is being solved https://issues.apache.org/jira/browse/CB-12077