Android start app very slow

I build an app with latest version of ionic

i build the app with this command ionic build android --prod

i load the apk in my android phone and after splash screen i wait 12/13 sec for start the app

In iOS there isn’t this problem!

Any suggestion for me?

  "name": "ionic-hello-world",
  "author": "Ionic Framework",
  "homepage": "",
  "private": true,
  "scripts": {
    "clean": "ionic-app-scripts clean",
    "build": "ionic-app-scripts build",
    "ionic:build": "ionic-app-scripts build",
    "ionic:serve": "ionic-app-scripts serve"
  "dependencies": {
    "@angular/common": "2.2.1",
    "@angular/compiler": "2.2.1",
    "@angular/compiler-cli": "2.2.1",
    "@angular/core": "2.2.1",
    "@angular/forms": "2.2.1",
    "@angular/http": "2.2.1",
    "@angular/platform-browser": "2.2.1",
    "@angular/platform-browser-dynamic": "2.2.1",
    "@angular/platform-server": "2.2.1",
    "@ionic/storage": "1.1.7",
    "angularfire2": "^2.0.0-beta.8",
    "intl": "^1.2.5",
    "ion2-calendar": "^1.0.1",
    "ionic-angular": "2.0.1",
    "ionic-native": "2.4.1",
    "ionic2-calendar": "^0.2.3",
    "ionicons": "3.0.0",
    "moment": "^2.17.1",
    "rxjs": "5.0.0-beta.12",
    "sw-toolbox": "3.4.0",
    "zone.js": "0.6.26"
  "devDependencies": {
    "@ionic/app-scripts": "^1.1.4",
    "typescript": "2.0.9"
  "cordovaPlugins": [
  "cordovaPlatforms": [],
  "description": "CostaEventiUpdate: An Ionic project"

Try to put this on the second line of your main.ts file

import { enableProdMode } from ‘@angular/core’;

then before the bootstrap line put


also when building use --prod so “ionic build android --prod”

you should totally upgrade your app to the latest ionic version 2.2.0. It uses also a newer angular 2 version with many fixes and performance boosts. Maybe it does not change your bootup problem… but brings better performance in general.

Do you show the splashscreen a fixed time or do you hide the splashscreen manually if you app is ready?

Thank you @clew24 and @bengtler
I tried again with --prod version and i rebuilded the app.
After this I edited the lenght of splashscreen delay in config.xml and now is acceptable.
Thanks for your support!

1 Like

LOL, ionic 3 , still android is wayyyy slower…