Ionic 2 app boot time takes 30sec to start the app

ionic build android --prod --release app getting crashed
ionic build android --release working fine
corodova build android --release working fine
what is the difference. between both

my app is taking 30sec to boot in develop mode

None, ionic is mainly a proxy for cordova in this case.

--prod changes the way an app is built to make it faster and smaller. So you should work on getting that crash fixed.

hey @Sujan12 please help me
am getting error when i run this command
ionic cordova build android --prod

and error is about page module but am not able to understand error
error is :>
G:\ion\cam>ionic cordova build android --prod
Running app-scripts build: --prod --platform android --target cordova
[16:35:12] build prod started …
[16:35:13] clean started …
[16:35:13] clean finished in 15 ms
[16:35:13] copy started …
[16:35:14] deeplinks started …
[16:35:14] deeplinks finished in 69 ms
[16:35:14] ngc started …
[16:35:34] typescript error
Type AboutPage in G:/ion/cam/src/pages/about/about.ts is part of the declarations of 2 modules: AppModule in
G:/ion/cam/src/app/app.module.ts and AboutPageModule in G:/ion/cam/src/pages/about/about.module.ts! Please
consider moving AboutPage in G:/ion/cam/src/pages/about/about.ts to a higher module that imports AppModule
in G:/ion/cam/src/app/app.module.ts and AboutPageModule in G:/ion/cam/src/pages/about/about.module.ts. You
can also create a new NgModule that exports and includes AboutPage in G:/ion/cam/src/pages/about/about.ts
then import that NgModule in AppModule in G:/ion/cam/src/app/app.module.ts and AboutPageModule in
G:/ion/cam/src/pages/about/about.module.ts.

Error: The Angular AoT build failed. See the issues above
at G:\ion\cam\node_modules@ionic\app-scripts\dist\aot\aot-compiler.js:237:55
at step (G:\ion\cam\node_modules@ionic\app-scripts\dist\aot\aot-compiler.js:32:23)
at Object.next (G:\ion\cam\node_modules@ionic\app-scripts\dist\aot\aot-compiler.js:13:53)
at fulfilled (G:\ion\cam\node_modules@ionic\app-scripts\dist\aot\aot-compiler.js:4:58)
at
[16:35:34] copy finished in 21.24 s

looks like some where you have duplicate module names