Ionic App RC3 Android startup time very slow

I recently upgraded my app to RC3. Since that moment the app is running ok in serve and in the iPhone. The problem I am having is with the android build. After installing the app in an android device it takes a lot of time to boot. Depending on the phone’s capacity this long time may generate a timeout error and the app will not start at all.

I tried starting a new clean project from scratch and the problem persists.

Is there anyone else having this problem?

Cordova CLI: 6.4.0
Ionic Framework Version: 2.0.0-rc.3
Ionic CLI Version: 2.1.14
Ionic App Lib version: 2.1.7
Ionic App Scripts: 0.0.45
Node Version: v6.9.2

Plugins installed:
com-sarriaroman-photoviewer 1.1.10 "PhotoViewer"
cordova-plugin-camera 2.3.0 "Camera"
cordova-plugin-compat 1.1.0 "Compat"
cordova-plugin-console 1.0.4 "Console"
cordova-plugin-device 1.1.3 "Device"
cordova-plugin-inappbrowser 1.5.0 "InAppBrowser"
cordova-plugin-splashscreen 4.0.0 "Splashscreen"
cordova-plugin-statusbar 2.2.0 "StatusBar"
cordova-plugin-whitelist 1.3.0 "Whitelist"
cordova-sqlite-storage 2.0.0 "Cordova sqlite storage plugin"
ionic-plugin-keyboard 2.2.1 “Keyboard”

I updated from RC.2 to RC.3 and see the same issue.
Loading takes much more now and sometimes an error is thrown.


In RC.3 I have the same issue

After trying a lot of things I ended up updating Android Studio and Java in my Windows machine. Then I used ionic build android --release (not cordova build --release android). With these changes the app boots up ok now.

Hope it helps.

Updated to “@ionic/app-scripts”: “0.0.47”, and added “–prod” to the build script:
“build”: “ionic-app-scripts build --prod”,

That fixed my issue.


No solutions for me. Between RC1 and RC 3 start-up time increased from 2-3 second to 7-8, too much!


yes this is the solution!!