I'm having the following difficulty a few days after generating my APK and installing it on my device when trying to open it displays the message
app stopped
I took an old ionic project and added new features in it, when I execute the commands to add the platform: ionic cordova platform add android
and generate apk: ionic cordova build android
, it works normally and generates my APK.
But when I get the generated APK and install it on my cell phone, I try to open the message O app parou
and if I close it and try to open it again it displays the message O app apresenta erros continuamente
.
But if you run it in the browser it works normally.
Characteristics of my environment
S.O. : Ubuntu 18.04.1 LTS
Ionic: ionic (Ionic CLI): 4.2.1
Ionic Framework: Ionic-angular 3.9.2
@ ionic / app-scripts: 2.1.3
Cordova: Cordova (Cordova CLI): 8.0.0
Cordova Platforms: android 6.3.0
Cordova Plugins: no whitelisted plugins (23 plugins total)
System: Android SDK Tools: 26.1.1
NodeJS: v8.12.0
npm: 6.4.1
OS: Linux 4.15