hey all,
when i upgrade to ionic 2 RC 4 create new project
- ionic start --v2 test1
- ionic platform add android
- ionic run android on my device android 5.0.1 even my android 6.0.1 its so slow on start up of tutorial app
so error appear device ready has not fired after 5 seconds
Note : RC3 work properly
any advise about this issue ?
Try to run with the prod flag
ionic run android --prod
There are some issues opened, already, about this problem in rc4.
2 Likes
thanks chribenseler --prod help me a lot on android 6.0.1 but on android 5.0.1 i having the same issue
even if i add --prod no luck my boot time is 9sec. i want to reduce to 1 sec.how can i do that
which device you are using, and android version please ?
i am using android@6.1.1… here is my package.json
“dependencies”: {
"@angular/common": “2.4.8”,
"@angular/compiler": “2.4.8”,
"@angular/compiler-cli": “2.4.8”,
"@angular/core": “2.4.8”,
"@angular/forms": “2.4.8”,
"@angular/http": “2.4.8”,
"@angular/platform-browser": “2.4.8”,
"@angular/platform-browser-dynamic": “2.4.8”,
"@angular/platform-server": “2.4.8”,
"@ionic/cloud-angular": “^0.8.0”,
"@ionic/storage": “2.0.0”,
“angular2-highcharts”: “^0.4.1”,
“ionic-angular”: “2.2.0”,
“ionic-native”: “2.4.1”,
“ionicons”: “3.0.0”,
“node-gcm”: “^0.14.4”,
“rxjs”: “5.0.1”,
“status-bar”: “^2.0.3”,
“sw-toolbox”: “^3.4.0”,
“zone.js”: “0.7.2”
},
“devDependencies”: {
"@ionic/app-scripts": “1.1.4”,
"@ionic/cli-build-ionic-angular": “0.0.3”,
"@ionic/cli-plugin-cordova": “0.0.9”,
“typescript”: “2.0.9”
},
“cordovaPlugins”: [
“cordova-plugin-device”,
“cordova-plugin-console”,
“cordova-plugin-whitelist”,
“cordova-plugin-splashscreen”,
“cordova-plugin-statusbar”,
“ionic-plugin-keyboard”,
“phonegap-plugin-push”,
“cordova-sqlite-storage”
],
and ionic info
Cordova CLI: 6.5.0
Ionic Framework Version: 2.2.0
Ionic CLI Version: 2.2.1
Ionic App Lib Version: 2.2.0
Ionic App Scripts Version: 1.1.4
ios-deploy version: 1.9.1
ios-sim version: 5.0.13
OS: OS X El Capitan
Node Version: v7.4.0
Xcode version: Xcode 8.2 Build version 8C23
Please help me
well my friend it depend on your plugins installed and make sure you don’t have any https on your index.html , look please can your try to create a project from scratch ionic start --v2 tutorial … and see boot time using --prod
i have tried with new scratch it is fine.Boot time cant be decreased from 5 seconds.in my console it displays device ready fired after 1200ms also.
Don’t forget to remove the console plugin in production