I have been working with < 5 version of android platform in my hybrid application. now I updated the version by removing first ionic platform rm android
and then ionic platform add android@5.0.0
. With previous version I was able to create signed release build with this command without any problem
cordova build android --release --buildConfig=build.json -- --gradleArg=-PcdvMinSdkVersion=16
but after adding this version android@5.0.0
, when I run the build command it gives me android-release-unsigned.apk
Note: I am using same keystore as previously I was using
Update:
{
"android": {
"release": {
"keystore": "C:\\Path\\To\\Keystores\\theapp.keystore",
"storePassword": "",
"alias": "thealias",
"password" : "",
"keystoreType": ""
}
}