Ionic-cli: [Bug & Workaround] Command 'ionic cordova build android --prod --release' not working

Created on 25 Apr 2018  路  3Comments  路  Source: ionic-team/ionic-cli

Ionic version: (check one with "x")
(For Ionic 1.x issues, please use https://github.com/ionic-team/ionic-v1)
[ ] 2.x
[ x] 3.x
[ ] 4.x

I'm submitting a ... (check one with "x")
[ x] bug report
[ ] feature request

Current behavior:

ionic cordova build android --prod --release
This command will not copy all fonts to platforms\android\app\src\main\assets\www\assets\fonts
So when you execute the apk in the phone you will get a blank screen

Expected behavior:

Get the apk working intead a blank screen

WORKAROUND
Create the apk in 2 steps:
ionic build --prod --release
cordova build android --release

Other information:

Ionic info: (run ionic info from a terminal/cmd prompt and paste output below):

cli packages: (C:\Users\Julian.JULIANPC\AppData\Roaming\npm\node_modules)
    @ionic/cli-utils  : 1.19.2
    ionic (Ionic CLI) : 3.20.0
global packages:
    cordova (Cordova CLI) : 8.0.0
local packages:
    @ionic/app-scripts : 3.1.8
    Cordova Platforms  : android 7.0.0 ios 4.5.4
    Ionic Framework    : ionic-angular 3.9.2
System:
    Android SDK Tools : 26.1.1
    Node              : v9.9.0
    npm               : 5.8.0
    OS                : Windows 10
Environment Variables:
    ANDROID_HOME : D:\android\android-sdk
Misc:
    backend : pro
triage

All 3 comments

Having the same problem my Android studio debug log says:

05/04 17:34:06: Launching app
$ adb install-multiple -r -t /home/rampage/Desktop/work/repos/private/fresh-request/client/platforms/android/app/build/intermediates/split-apk/debug/dep/dependencies.apk /home/rampage/Desktop/work/repos/private/fresh-request/client/platforms/android/app/build/intermediates/split-apk/debug/slices/slice_3.apk /home/rampage/Desktop/work/repos/private/fresh-request/client/platforms/android/app/build/intermediates/split-apk/debug/slices/slice_5.apk /home/rampage/Desktop/work/repos/private/fresh-request/client/platforms/android/app/build/intermediates/split-apk/debug/slices/slice_9.apk /home/rampage/Desktop/work/repos/private/fresh-request/client/platforms/android/app/build/intermediates/split-apk/debug/slices/slice_0.apk /home/rampage/Desktop/work/repos/private/fresh-request/client/platforms/android/app/build/intermediates/split-apk/debug/slices/slice_6.apk /home/rampage/Desktop/work/repos/private/fresh-request/client/platforms/android/app/build/intermediates/split-apk/debug/slices/slice_2.apk /home/rampage/Desktop/work/repos/private/fresh-request/client/platforms/android/app/build/intermediates/split-apk/debug/slices/slice_1.apk /home/rampage/Desktop/work/repos/private/fresh-request/client/platforms/android/app/build/intermediates/split-apk/debug/slices/slice_4.apk /home/rampage/Desktop/work/repos/private/fresh-request/client/platforms/android/app/build/intermediates/split-apk/debug/slices/slice_8.apk /home/rampage/Desktop/work/repos/private/fresh-request/client/platforms/android/app/build/intermediates/split-apk/debug/slices/slice_7.apk /home/rampage/Desktop/work/repos/private/fresh-request/client/platforms/android/app/build/outputs/apk/debug/app-debug.apk 
Split APKs installed
$ adb shell am start -n "com.freshrequest.dev/com.freshrequest.dev.MainActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -D
Waiting for application to come online: com.freshrequest.dev.test | com.freshrequest.dev
Waiting for application to come online: com.freshrequest.dev.test | com.freshrequest.dev
Waiting for application to come online: com.freshrequest.dev.test | com.freshrequest.dev
Connecting to com.freshrequest.dev
Capturing and displaying logcat messages from application. This behavior can be disabled in the "Logcat output" section of the "Debugger" settings page.
I/art: Debugger is active
Connected to the target VM, address: 'localhost:8601', transport: 'socket'
I/System.out: Debugger has connected
              waiting for debugger to settle...
I/System.out: waiting for debugger to settle...
I/System.out: waiting for debugger to settle...
I/System.out: waiting for debugger to settle...
I/System.out: waiting for debugger to settle...
I/System.out: waiting for debugger to settle...
I/System.out: debugger has settled (1301)
W/System: ClassLoader referenced unknown path: /data/app/com.freshrequest.dev-1/lib/arm64
I/InstantRun: starting instant run server: is main process
D/com.facebook.FacebookSdk: getGraphApiVersion: v3.0
D/NetworkSecurityConfig: No Network Security Config specified, using platform default
I/DpmTcmClient: RegisterTcmMonitor from: com.android.okhttp.TcmIdleTimerMonitor
I/Typeface: setThemeFont(): sThemeFontPath = ,fontPath = 
W/Typeface: setThemeFont(): FontPath Not Changed!
I/CordovaLog: Changing log level to DEBUG(3)
I/CordovaActivity: Apache Cordova native platform version 7.1.0 is starting
D/CordovaActivity: CordovaActivity.onCreate()
I/System.out: [socket][0] connection graph.facebook.com/157.240.9.18:443;LocalPort=-1(0)
I/System.out: [socket][/10.63.137.17:60777] connected
I/WebViewFactory: Loading com.android.chrome version 66.0.3359.126 (code 335912652)
I/cr_LibraryLoader: Time to load native libraries: 5 ms (timestamps 6188-6193)
I/chromium: [INFO:library_loader_hooks.cc(36)] Chromium logging enabled: level = 0, default verbosity = 0
I/cr_LibraryLoader: Expected native library version number "66.0.3359.126", actual native library version number "66.0.3359.126"
I/art: Do partial code cache collection, code=25KB, data=25KB
       After code cache collection, code=25KB, data=25KB
       Increasing code cache capacity to 128KB
I/cr_BrowserStartup: Initializing chromium process, singleProcess=true
I/cr_base: Android Locale: en_US requires .pak files: [en-GB.pak, en-US.pak]
I/art: Rejecting re-init on previously-failed class java.lang.Class<com.android.webview.chromium.db>: java.lang.NoClassDefFoundError: Failed resolution of: Landroid/webkit/RenderProcessGoneDetail;
           at void com.android.webview.chromium.WebViewChromium.init(java.util.Map, boolean) (WebViewChromium.java:48)
           at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int, int, java.util.Map, boolean) (WebView.java:636)
           at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int, int) (WebView.java:572)
           at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int) (WebView.java:555)
           at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet) (WebView.java:542)
           at void org.apache.cordova.engine.SystemWebView.<init>(android.content.Context, android.util.AttributeSet) (SystemWebView.java:0)
           at void org.apache.cordova.engine.SystemWebView.<init>(android.content.Context) (SystemWebView.java:0)
           at void org.apache.cordova.engine.SystemWebViewEngine.<init>(android.content.Context, org.apache.cordova.CordovaPreferences) (SystemWebViewEngine.java:0)
           at java.lang.Object java.lang.reflect.Constructor.newInstance0!(java.lang.Object[]) (Constructor.java:-2)
           at java.lang.Object java.lang.reflect.Constructor.newInstance(java.lang.Object[]) (Constructor.java:430)
           at org.apache.cordova.CordovaWebViewEngine org.apache.cordova.CordovaWebViewImpl.createEngine(android.content.Context, org.apache.cordova.CordovaPreferences) (CordovaWebViewImpl.java:80)
           at org.apache.cordova.CordovaWebViewEngine org.apache.cordova.CordovaActivity.makeWebViewEngine() (CordovaActivity.java:206)
           at org.apache.cordova.CordovaWebView org.apache.cordova.CordovaActivity.makeWebView() (CordovaActivity.java:202)
           at void org.apache.cordova.CordovaActivity.init() (CordovaActivity.java:146)
           at void org.apache.cordova.CordovaActivity.loadUrl(java.lang.String) (CordovaActivity.java:224)
           at void com.freshrequest.dev.MainActivity.onCreate(android.os.Bundle) (MainActivity.java:39)
           at void android.app.Activity.performCreate(android.os.Bundle) (Activity.java:6734)
           at void android.app.Instrumentation.callActivityOnCreate(android.app.Activity, android.os.Bundle) (Instrumentation.java:1119)
           at android.app.Activity android.app.ActivityThread.performLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent) (ActivityThread.java:2612)
           at void android.app.ActivityThread.handleLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:2720)
           at void android.app.ActivityThread.-wrap12(android.app.ActivityThread, android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:-1)
           at void android.app.ActivityThread$H.handleMessage(android.os.Message) (ActivityThread.java:1466)
I/art:     at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:102)
           at void android.os.Looper.loop() (Looper.java:154)
           at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6111)
           at java.lang.Object java.lang.reflect.Method.invoke!(java.lang.Object, java.lang.Object[]) (Method.java:-2)
           at void com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run() (ZygoteInit.java:865)
           at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:755)
       Caused by: java.lang.ClassNotFoundException: Didn't find class "android.webkit.RenderProcessGoneDetail" on path: DexPathList[[zip file "/data/app/com.android.chrome-1/base.apk"],nativeLibraryDirectories=[/data/app/com.android.chrome-1/lib/arm64, /data/app/com.android.chrome-1/base.apk!/lib/arm64-v8a, /system/lib64, /vendor/lib64]]
           at java.lang.Class dalvik.system.BaseDexClassLoader.findClass(java.lang.String) (BaseDexClassLoader.java:56)
           at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean) (ClassLoader.java:380)
           at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String) (ClassLoader.java:312)
           at void com.android.webview.chromium.WebViewChromium.init(java.util.Map, boolean) (WebViewChromium.java:48)
           at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int, int, java.util.Map, boolean) (WebView.java:636)
           at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int, int) (WebView.java:572)
           at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int) (WebView.java:555)
           at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet) (WebView.java:542)
           at void org.apache.cordova.engine.SystemWebView.<init>(android.content.Context, android.util.AttributeSet) (SystemWebView.java:0)
           at void org.apache.cordova.engine.SystemWebView.<init>(android.content.Context) (SystemWebView.java:0)
           at void org.apache.cordova.engine.SystemWebViewEngine.<init>(android.content.Context, org.apache.cordova.CordovaPreferences) (SystemWebViewEngine.java:0)
           at java.lang.Object java.lang.reflect.Constructor.newInstance0!(java.lang.Object[]) (Constructor.java:-2)
           at java.lang.Object java.lang.reflect.Constructor.newInstance(java.lang.Object[]) (Constructor.java:430)
           at org.apache.cordova.CordovaWebViewEngine org.apache.cordova.CordovaWebViewImpl.createEngine(android.content.Context, org.apache.cordova.CordovaPreferences) (CordovaWebViewImpl.java:80)
           at org.apache.cordova.CordovaWebViewEngine org.apache.cordova.CordovaActivity.makeWebViewEngine() (CordovaActivity.java:206)
           at org.apache.cordova.CordovaWebView org.apache.cordova.CordovaActivity.makeWebView() (CordovaActivity.java:202)
           at void org.apache.cordova.CordovaActivity.init() (CordovaActivity.java:146)
           at void org.apache.cordova.CordovaActivity.loadUrl(java.lang.String) (CordovaActivity.java:224)
           at void com.freshrequest.dev.MainActivity.onCreate(android.os.Bundle) (MainActivity.java:39)
           at void android.app.Activity.performCreate(android.os.Bundle) (Activity.java:6734)
           at void android.app.Instrumentation.callActivityOnCreate(android.app.Activity, android.os.Bundle) (Instrumentation.java:1119)
           at android.app.Activity android.app.ActivityThread.performLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent) (ActivityThread.java:2612)
           at void android.app.ActivityThread.handleLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:2720)
           at void android.app.ActivityThread.-wrap12(android.app.ActivityThread, android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:-1)
           at void android.app.ActivityThread$H.handleMessage(android.os.Message) (ActivityThread.java:1466)
           at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:102)
           at void android.os.Looper.loop() (Looper.java:154)
           at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6111)
           at java.lang.Object java.lang.reflect.Method.invoke!(java.lang.Object, java.lang.Object[]) (Method.java:-2)
           at void com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run() (ZygoteInit.java:865)
           at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:755)
I/art: Rejecting re-init on previously-failed class java.lang.Class<com.android.webview.chromium.hb>: java.lang.NoClassDefFoundError: Failed resolution of: Landroid/webkit/SafeBrowsingResponse;
           at void com.android.webview.chromium.WebViewChromium.init(java.util.Map, boolean) (WebViewChromium.java:48)
           at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int, int, java.util.Map, boolean) (WebView.java:636)
           at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int, int) (WebView.java:572)
           at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int) (WebView.java:555)
           at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet) (WebView.java:542)
           at void org.apache.cordova.engine.SystemWebView.<init>(android.content.Context, android.util.AttributeSet) (SystemWebView.java:0)
           at void org.apache.cordova.engine.SystemWebView.<init>(android.content.Context) (SystemWebView.java:0)
           at void org.apache.cordova.engine.SystemWebViewEngine.<init>(android.content.Context, org.apache.cordova.CordovaPreferences) (SystemWebViewEngine.java:0)
           at java.lang.Object java.lang.reflect.Constructor.newInstance0!(java.lang.Object[]) (Constructor.java:-2)
           at java.lang.Object java.lang.reflect.Constructor.newInstance(java.lang.Object[]) (Constructor.java:430)
           at org.apache.cordova.CordovaWebViewEngine org.apache.cordova.CordovaWebViewImpl.createEngine(android.content.Context, org.apache.cordova.CordovaPreferences) (CordovaWebViewImpl.java:80)
           at org.apache.cordova.CordovaWebViewEngine org.apache.cordova.CordovaActivity.makeWebViewEngine() (CordovaActivity.java:206)
           at org.apache.cordova.CordovaWebView org.apache.cordova.CordovaActivity.makeWebView() (CordovaActivity.java:202)
           at void org.apache.cordova.CordovaActivity.init() (CordovaActivity.java:146)
           at void org.apache.cordova.CordovaActivity.loadUrl(java.lang.String) (CordovaActivity.java:224)
           at void com.freshrequest.dev.MainActivity.onCreate(android.os.Bundle) (MainActivity.java:39)
           at void android.app.Activity.performCreate(android.os.Bundle) (Activity.java:6734)
           at void android.app.Instrumentation.callActivityOnCreate(android.app.Activity, android.os.Bundle) (Instrumentation.java:1119)
           at android.app.Activity android.app.ActivityThread.performLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent) (ActivityThread.java:2612)
           at void android.app.ActivityThread.handleLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:2720)
           at void android.app.ActivityThread.-wrap12(android.app.ActivityThread, android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:-1)
           at void android.app.ActivityThread$H.handleMessage(android.os.Message) (ActivityThread.java:1466)
           at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:102)
           at void android.os.Looper.loop() (Looper.java:154)
           at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6111)
           at java.lang.Object java.lang.reflect.Method.invoke!(java.lang.Object, java.lang.Object[]) (Method.java:-2)
           at void com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run() (ZygoteInit.java:865)
           at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:755)
       Caused by: java.lang.ClassNotFoundException: Didn't find class "android.webkit.SafeBrowsingResponse" on path: DexPathList[[zip file "/data/app/com.android.chrome-1/base.apk"],nativeLibraryDirectories=[/data/app/com.android.chrome-1/lib/arm64, /data/app/com.android.chrome-1/base.apk!/lib/arm64-v8a, /system/lib64, /vendor/lib64]]
           at java.lang.Class dalvik.system.BaseDexClassLoader.findClass(java.lang.String) (BaseDexClassLoader.java:56)
           at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean) (ClassLoader.java:380)
           at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String) (ClassLoader.java:312)
           at void com.android.webview.chromium.WebViewChromium.init(java.util.Map, boolean) (WebViewChromium.java:48)
           at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int, int, java.util.Map, boolean) (WebView.java:636)
           at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int, int) (WebView.java:572)
           at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int) (WebView.java:555)
           at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet) (WebView.java:542)
           at void org.apache.cordova.engine.SystemWebView.<init>(android.content.Context, android.util.AttributeSet) (SystemWebView.java:0)
           at void org.apache.cordova.engine.SystemWebView.<init>(android.content.Context) (SystemWebView.java:0)
           at void org.apache.cordova.engine.SystemWebViewEngine.<init>(android.content.Context, org.apache.cordova.CordovaPreferences) (SystemWebViewEngine.java:0)
           at java.lang.Object java.lang.reflect.Constructor.newInstance0!(java.lang.Object[]) (Constructor.java:-2)
           at java.lang.Object java.lang.reflect.Constructor.newInstance(java.lang.Object[]) (Constructor.java:430)
           at org.apache.cordova.CordovaWebViewEngine org.apache.cordova.CordovaWebViewImpl.createEngine(android.content.Context, org.apache.cordova.CordovaPreferences) (CordovaWebViewImpl.java:80)
           at org.apache.cordova.CordovaWebViewEngine org.apache.cordova.CordovaActivity.makeWebViewEngine() (CordovaActivity.java:206)
           at org.apache.cordova.CordovaWebView org.apache.cordova.CordovaActivity.makeWebView() (CordovaActivity.java:202)
           at void org.apache.cordova.CordovaActivity.init() (CordovaActivity.java:146)
           at void org.apache.cordova.CordovaActivity.loadUrl(java.lang.String) (CordovaActivity.java:224)
           at void com.freshrequest.dev.MainActivity.onCreate(android.os.Bundle) (MainActivity.java:39)
           at void android.app.Activity.performCreate(android.os.Bundle) (Activity.java:6734)
           at void android.app.Instrumentation.callActivityOnCreate(android.app.Activity, android.os.Bundle) (Instrumentation.java:1119)
           at android.app.Activity android.app.ActivityThread.performLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent) (ActivityThread.java:2612)
           at void android.app.ActivityThread.handleLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:2720)
           at void android.app.ActivityThread.-wrap12(android.app.ActivityThread, android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:-1)
           at void android.app.ActivityThread$H.handleMessage(android.os.Message) (ActivityThread.java:1466)
           at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:102)
           at void android.os.Looper.loop() (Looper.java:154)
           at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6111)
           at java.lang.Object java.lang.reflect.Method.invoke!(java.lang.Object, java.lang.Object[]) (Method.java:-2)
           at void com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run() (ZygoteInit.java:865)
           at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:755)
I/art: Do partial code cache collection, code=62KB, data=44KB
       After code cache collection, code=59KB, data=43KB
       Increasing code cache capacity to 256KB
D/SystemWebViewEngine: CordovaWebView is running on device made by: LENOVO
E/chromium: [ERROR:devtools_http_handler.cc(292)] Cannot start http server for devtools. Stop devtools.
D/PluginManager: init()
V/BoostFramework: mAcquireFunc method = public int com.qualcomm.qti.Performance.perfLockAcquire(int,int[])
V/BoostFramework: mReleaseFunc method = public int com.qualcomm.qti.Performance.perfLockRelease()
                  mAcquireTouchFunc method = public int com.qualcomm.qti.Performance.perfLockAcquireTouch(android.view.MotionEvent,android.util.DisplayMetrics,int,int[])
                  mIOPStart method = public int com.qualcomm.qti.Performance.perfIOPrefetchStart(int,java.lang.String)
V/BoostFramework: mIOPStop method = public int com.qualcomm.qti.Performance.perfIOPrefetchStop()
V/BoostFramework: BoostFramework() : mPerf = com.qualcomm.qti.Performance@13e021
                  BoostFramework() : mPerf = com.qualcomm.qti.Performance@146ac46
V/BoostFramework: BoostFramework() : mPerf = com.qualcomm.qti.Performance@2ad5d5d
V/BoostFramework: BoostFramework() : mPerf = com.qualcomm.qti.Performance@93146d2
D/CordovaWebViewImpl: >>> loadUrl(file:///android_asset/www/index.html)
W/cr_media: Requires BLUETOOTH permission
E/libEGL: validate_display:99 error 3008 (EGL_BAD_DISPLAY)
I/Adreno: QUALCOMM build                   : 01d2d27, I3d52eaf367
          Build Date                       : 12/10/16
          OpenGL ES Shader Compiler Version: XE031.09.00.03
          Local Branch                     : 
          Remote Branch                    : 
          Remote Branch                    : 
          Reconstruct Branch               : 
D/CordovaActivity: Started the activity.
D/CordovaActivity: Resumed the activity.
W/com.facebook.appevents.AppEventsLogger: activateApp events are being logged automatically. There's no need to call activateApp explicitly, this is safe to remove.
D/com.facebook.FacebookSdk: getGraphApiVersion: v3.0
W/VideoCapabilities: Unrecognized profile 2130706433 for video/avc
                     Unrecognized profile 2130706434 for video/avc
W/Utils: could not parse long range '175-174'
W/VideoCapabilities: Unrecognized profile 2130706433 for video/avc
W/VideoCapabilities: Unrecognized profile 2130706434 for video/avc
W/VideoCapabilities: Unrecognized profile 2130706433 for video/avc
                     Unrecognized profile 2130706434 for video/avc
W/VideoCapabilities: Unrecognized profile/level 0/3 for video/mpeg2
W/VideoCapabilities: Unrecognized profile/level 0/3 for video/mpeg2
W/VideoCapabilities: Unsupported mime video/wvc1
W/VideoCapabilities: Unsupported mime video/wvc1
W/VideoCapabilities: Unsupported mime video/divx
W/VideoCapabilities: Unsupported mime video/divx311
W/VideoCapabilities: Unsupported mime video/divx4
I/OpenGLRenderer: Initialized EGL, version 1.4
D/OpenGLRenderer: Swap behavior 1
W/VideoCapabilities: Unsupported mime video/mp4v-esdp
I/VideoCapabilities: Unsupported profile 4 for video/mp4v-es
D/CordovaWebViewImpl: onPageDidNavigate(file:///android_asset/www/index.html)
I/art: Do full code cache collection, code=114KB, data=109KB
I/art: After code cache collection, code=111KB, data=83KB
D/com.facebook.FacebookSdk: getGraphApiVersion: v3.0
W/cr_CrashFileManager: /data/user/0/com.freshrequest.dev/cache/WebView/Crash Reports does not exist or is not a directory
D/JsMessageQueue: Set native->JS mode to EvalBridgeMode
E/chromium: [ERROR:BudgetService.cpp(160)] Unable to connect to the Mojo BudgetService.
I/art: Do partial code cache collection, code=124KB, data=94KB
I/art: After code cache collection, code=124KB, data=94KB
       Increasing code cache capacity to 512KB
I/art: Compiler allocated 6MB to compile void android.view.ViewRootImpl.performTraversals()
D/SystemWebChromeClient: file:///android_asset/www/build/vendor.js: Line 1 : ERROR
I/chromium: [INFO:CONSOLE(1)] "ERROR", source: file:///android_asset/www/build/vendor.js (1)
D/SystemWebChromeClient: file:///android_asset/www/build/vendor.js: Line 1 : Ionic Native: deviceready event fired after 457 ms
I/chromium: [INFO:CONSOLE(1)] "Ionic Native: deviceready event fired after 457 ms", source: file:///android_asset/www/build/vendor.js (1)
D/CordovaWebViewImpl: onPageFinished(file:///android_asset/www/index.html)
I/System.out: close [socket][/10.63.137.17:60777]
D/com.facebook.FacebookSdk: getGraphApiVersion: v3.0
I/System.out: [socket][1] connection onesignal.com/104.16.204.165:443;LocalPort=-1(120000)
I/System.out: [socket][/10.63.137.17:46128] connected
I/System.out: close [socket][/10.63.137.17:46128]
I/System.out: [socket][2] connection onesignal.com/104.16.204.165:443;LocalPort=-1(120000)
I/System.out: [socket][/10.63.137.17:46172] connected
I/System.out: close [socket][/10.63.137.17:46172]
I/System.out: [socket][3] connection onesignal.com/104.16.204.165:443;LocalPort=-1(120000)
I/System.out: [socket][/10.63.137.17:46218] connected
I/System.out: close [socket][/10.63.137.17:46218]

The problem come from here:

D/SystemWebChromeClient: file:///android_asset/www/build/vendor.js: Line 1 : ERROR
I/chromium: [INFO:CONSOLE(1)] "ERROR", source: file:///android_asset/www/build/vendor.js (1)


@Stradivario update ionic-app-scripts to the latest release. The problem should be fixed in 3.1.9

@danielsogl i am not sure where to put issues related with CLI inside ionic app scripts ? or inside ionic-cli ? or ionic ? i am confused...

Please take a look at this issue i have created:

https://github.com/ionic-team/ionic-app-scripts/issues/1429

My application is not building production it just stays on

webpack is starting... and consuming all memory provided even if i put 8000 GB inside heap_memory

Regards,
Kristiyan Tachev

Was this page helpful?
0 / 5 - 0 ratings