I’m doing a application with Ionic 2 and already be prepared for release, but when execute
ionic build android --release
This return “BUILD SUCCESSFUL”, that is, the execute command is ok
After, I execute the command for signing of application:
keytool -genkey -v -keystore my-release-key.keystore -alias appKey -keyalg RSA -keysize 2048 -validity 10000
jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore my-release-key.keystore android-release-unsigned.apk appKey
zipalign -v 4 android-release-unsigned.apk MyAppRelease.apk
The three commands are executed without errors, but when I install MyAppRelease.apk or android release-unsigned.apk in my smartphone, this execution stays in splash screen or blank and never pass of here. Even though, if I execute the compiled for debug
ionic build android
And after I will install the debug result (myApp.apk debug, not myApp.apk release) in my smartphone this if it works correctly and completly.
Please, help me . I tried all that I found in searches but nothing worked.
ionic version 2.1.0-beta.3
cordova version 6.3.1
npm version 3.5.2