Open ionitron-bot[bot] opened 5 years ago
Is there any workaround for this issue before it is fixed please?
I'm dealing with the same issue
I replaced
--prod --release
for this:
--minifycss --optimizejs --minifyjs --release
and works
I replaced
--prod --release
for this:
--minifycss --optimizejs --minifyjs --release
and works
Thanks you saved my life
Original issue by @bengrah-miller on 2018-05-08T08:14:12Z
Ionic Info Run
ionic info
from a terminal/cmd prompt and paste the output below.Describe the Bug I've built an apk file using the ionic cordova build android --prod --release command. I'm able to successfully install the APK on an Android 5.1.1 Samsung Galaxy Tab (Active). When I start the app up, the splash screen appears but nothing else happens. I'm able to install this same APK on other devices and I'm able to get past the splash screen as expected. One other oddity is that when trying to inspect the device via Chrome Dev Tools, I'm able to Inspect the device but the app code / sources / HTML doesn't load. Nothing happens. So I'm not able to see if there are any errors at this point.
Steps to Reproduce Steps to reproduce the behavior:
Related Code If you are able to illustrate the bug with an example, please provide a sample application via an online code collaborator such as StackBlitz, or GitHub.
Expected Behavior Upon starting up the app, the Splash screen should appear for 5 seconds before loading up the main screen.
Additional Context I have attempted to debug this via logcat but there isn't much useful here neither. What follows is a capture of what happens when I tap the app icon to start the app up, to the point where the logging output stops.
I/Timeline(11021): Timeline: Activity_launch_request id:com.mh.sma time:9551847 V/WindowManager( 1087): addAppToken: AppWindowToken{3c03bff5 token=Token{1935492c ActivityRecord{2174e8df u0 com.mh.sma/.MainActivity t60}}} to stack=1 task=60 at 0 V/WindowManager( 1087): Adding window Window{36b591c4 u0 d0 Starting com.mh.sma} at 4 of 13 (after Window{5d813e u0 d0 com.sec.android.app.launcher/com.android.launcher2.Launcher}) I/ActivityManager( 1087): Start proc 25863:com.mh.sma/u0a170 for activity com.mh.sma/.MainActivity D/ActivityManager( 1087): Launching com.mh.sma, updated priority D/StatusBarManagerService( 1087): manageDisableList userId=0 what=0x0 pkg=Window{36b591c4 u0 d0 Starting com.mh.sma} E/Vold ( 320): Failed to find mounted volume for /storage/extSdCard/Android/data/com.mh.sma/files/ W/ContextImpl(25863): Failed to ensure directory: /storage/extSdCard/Android/data/com.mh.sma/files E/Vold ( 320): Failed to find mounted volume for /storage/extSdCard/Android/data/com.mh.sma/cache/ W/ContextImpl(25863): Failed to ensure directory: /storage/extSdCard/Android/data/com.mh.sma/cache E/Vold ( 320): Failed to find mounted volume for /storage/extSdCard/Android/data/com.mh.sma/files/ W/ContextImpl(25863): Failed to ensure directory: /storage/extSdCard/Android/data/com.mh.sma/files E/Vold ( 320): Failed to find mounted volume for /storage/extSdCard/Android/data/com.mh.sma/cache/ W/ContextImpl(25863): Failed to ensure directory: /storage/extSdCard/Android/data/com.mh.sma/cache V/WindowManager( 1087): Adding window Window{1a3aed92 u0 d0 com.mh.sma/com.mh.sma.MainActivity} at 4 of 14 (before Window{36b591c4 u0 d0 Starting com.mh.sma}) D/StatusBarManagerService( 1087): manageDisableList userId=0 what=0x0 pkg=Window{1a3aed92 u0 d0 com.mh.sma/com.mh.sma.MainActivity} V/WindowManager( 1087): Adding window Window{3555b60 u0 d0 com.mh.sma/com.mh.sma.MainActivity} at 4 of 15 (before Window{1a3aed92 u0 d0 com.mh.sma/com.mh.sma.MainActivity}) I/Timeline( 1087): Timeline: Activity_windows_visible id: ActivityRecord{2174e8df u0 com.mh.sma/.MainActivity t60} time:9552746 D/StatusBarManagerService( 1087): manageDisableList userId=0 what=0x0 pkg=Window{1a3aed92 u0 d0 com.mh.sma/com.mh.sma.MainActivity} E/Vold ( 320): Failed to find mounted volume for /storage/extSdCard/Android/data/com.mh.sma/files/ W/ContextImpl(25863): Failed to ensure directory: /storage/extSdCard/Android/data/com.mh.sma/files E/Vold ( 320): Failed to find mounted volume for /storage/extSdCard/Android/data/com.mh.sma/files/ W/ContextImpl(25863): Failed to ensure directory: /storage/extSdCard/Android/data/com.mh.sma/files E/Vold ( 320): Failed to find mounted volume for /storage/extSdCard/Android/data/com.mh.sma/cache/ W/ContextImpl(25863): Failed to ensure directory: /storage/extSdCard/Android/data/com.mh.sma/cache