Problem Ionic V4

I have developed an app with:


ionic (Ionic CLI) : 4.2.1 (C:\Users\Consulente\AppData\Roaming\npm\node_modules\ionic)
Ionic Framework : ionic-angular 3.9.2
@ionic/app-scripts : 3.2.0


cordova (Cordova CLI) : 8.0.0
Cordova Platforms : android 7.0.0
Cordova Plugins : cordova-plugin-ionic-keyboard 2.1.3, cordova-plugin-ionic-webview 2.2.0, (and 10 other plugins)


Android SDK Tools : 26.1.1 (C:\Users\Consulente\AppData\Local\Android\Sdk)
NodeJS : v9.8.0 (C:\Program Files\nodejs\node.exe)
npm : 6.1.0
OS : Windows 10

when I do:

Launching for android (This may take a while) …
Starting Ionic dev server (live reload: true)

ionic-app-scripts serves --address --port 8100 --livereload-port 35729 --dev-logger-port 53703 --nobrowser --iscordovaserve --platform android --target cordova

everything works perfectly and I have no problems clicking on buttons or events

instead when I perform:

cordova build android --release

The app has strange behavior, the buttons must be tap twice the loading do not dismiss.

Knowing what it can be, Thanks