when I use cli:
ionic cordova build android --prod --release --no-build -- -- --packageType=apk --keystore=my.jks --storePassword=password --alias=ReleaseKey
log:
FAILURE: Build failed with an exception.
* Where:
Build file '/xxx/platforms/android/app/build.gradle' line: 318
* What went wrong:
A problem occurred evaluating project ':app'.
> Keystore file does not exist: /xxx/platforms/android/../../my.jks
ionic info:
Ionic:
Ionic CLI : 6.20.9 (/usr/local/lib/node_modules/@ionic/cli)
Ionic Framework : @ionic/angular 6.7.5
@angular-devkit/build-angular : 12.2.18
@angular-devkit/schematics : 12.2.18
@angular/cli : 12.2.18
@ionic/angular-toolkit : 9.0.0
Cordova:
Cordova CLI : 11.0.0 (cordova-lib@11.1.0)
Cordova Platforms : android 11.0.0, ios 6.3.0
Cordova Plugins : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 5.0.0, (and 12 other plugins)