WebView load delay caused by errors in the beginning
Reported by
raxim...@gmail.com,
Jun 20 2018
|
|||
Issue descriptionSteps to reproduce the problem: 1) create an angular cli project https://cli.angular.io/ 2) add capacitor to it 3) run on the device looking for logcat in android studio 3.1.3 What is the expected behavior? My main problem, it might be not a chromium bug, but i haven't any tool to really see what causes the issue? Can you suggest some step to fix it? It's a common problem both on cordova and on capacitor, so millions of user uses it, but it does cost 780ms delay. (i have attached only one line, but the lines are were repeated 6-8 times) What went wrong? W/art: Failed execv(/system/bin/dex2oat --runtime-arg -classpath --runtime-arg --debuggable --instruction-set=arm --instruction-set-features=smp,div,atomic_ldrd_strd --runtime-arg -Xrelocate --boot-image=/system/framework/boot.art --runtime-arg -Xms64m --runtime-arg -Xmx512m --instruction-set-variant=krait --instruction-set-features=default --dex-file=/data/app/com.raxim.capacitor-2/split_lib_dependencies_apk.apk --oat-file=/data/dalvik-cache/arm/ Did this work before? N/A Chrome version: 67.0.3396.87 Channel: stable OS Version: 6.0.1 Flash Version:
,
Jun 20 2018
,
Jun 20 2018
The error there seems like it might be an issue related to how Android Studio pushes the APK to the device for fast installation during debugging, since the app is split into multiple APK slices. Try building a release version and installing it manually instead of launching through Android Studio to see if the issue happens there. This does not appear to be related to WebView, so I don't think we can help you with this - you should look for help on an Android Studio support forum as this appears to be related to the instant run feature. |
|||
►
Sign in to add a comment |
|||
Comment 1 by raxim...@gmail.com
, Jun 20 201819.7 KB
19.7 KB View Download