Getting a crash like these every so often:
Do not understand why webview is not available and why this is not happening on every device
What I know about the device:
Do not understand why webview is not available and why this is not happening on every device
What I know about the device:
B4X:
OSVersion:5.0.2 API:21
B4X:
--------- beginning of system
--------- beginning of main
~i:*** Service (starter) Create ***
~i:** Service (starter) Start **
~i:** Activity (main) Create, isFirst =rue **
~i:** Activity (main) Resume **
~e:chelp_initialize (java line: 200)
~e:android.util.AndroidRuntimeException: android.content.pm.PackageManager$NameNotFoundException: com.google.android.webview
~e: at android.webkit.WebViewFactory.getFactoryClass(WebViewFactory.java:161)
~e: at android.webkit.WebViewFactory.getProvider(WebViewFactory.java:101)
~e: at android.webkit.WebView.getFactory(WebView.java:2185)
~e: at android.webkit.WebView.ensureProviderCreated(WebView.java:2180)
~e: at android.webkit.WebView.setOverScrollMode(WebView.java:2239)
~e: at android.view.View.<init>(View.java:3589)
~e: at android.view.View.<init>(View.java:3683)
~e: at android.view.ViewGroup.<init>(ViewGroup.java:492)
~e: at android.widget.AbsoluteLayout.<init>(AbsoluteLayout.java:55)
~e: at android.webkit.WebView.<init>(WebView.java:538)
~e: at android.webkit.WebView.<init>(WebView.java:483)
~e: at android.webkit.WebView.<init>(WebView.java:466)
~e: at android.webkit.WebView.<init>(WebView.java:453)
~e: at android.webkit.WebView.<init>(WebView.java:443)
~e: at anywheresoftware.b4a.objects.WebViewWrapper.innerInitialize(WebViewWrapper.java:51)
~e: at anywheresoftware.b4a.objects.ViewWrapper.Initialize(ViewWrapper.java:65)
~e: at com.BOBs.BBS.chelp._initialize(chelp.java:200)
~e: at com.BOBs.BBS.main._vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv6(main.java:631)
~e: at com.BOBs.BBS.main._activity_resume(main.java:523)
~e: at java.lang.reflect.Method.invoke(Native Method)
~e: at java.lang.reflect.Method.invoke(Method.java:372)
~e: at anywheresoftware.b4a.BA.raiseEvent2(BA.java:186)
~e: at anywheresoftware.b4a.BA.raiseEvent(BA.java:166)
~e: at com.BOBs.BBS.main.afterFirstLayout(main.java:108)
~e: at com.BOBs.BBS.main.access$000(main.java:17)
~e: at com.BOBs.BBS.main$WaitForLayout.run(main.java:80)
~e: at android.os.Handler.handleCallback(Handler.java:739)
~e: at android.os.Handler.dispatchMessage(Handler.java:95)
~e: at android.os.Looper.loop(Looper.java:135)
~e: at android.app.ActivityThread.main(ActivityThread.java:5376)
~e: at java.lang.reflect.Method.invoke(Native Method)
~e: at java.lang.reflect.Method.invoke(Method.java:372)
~e: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:908)
~e: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:703)
~e:Caused by: android.content.pm.PackageManager$NameNotFoundException: com.google.android.webview
~e: at android.app.ApplicationPackageManager.getPackageInfo(ApplicationPackageManager.java:114)
~e: at android.webkit.WebViewFactory.getFactoryClass(WebViewFactory.java:133)
~e: ... 33 more
android.util.AndroidRuntimeException: android.content.pm.PackageManager$NameNotFoundException: com.google.android.webview
at android.webkit.WebViewFactory.getFactoryClass(WebViewFactory.java:161)
at android.webkit.WebViewFactory.getProvider(WebViewFactory.java:101)
at android.webkit.WebView.getFactory(WebView.java:2185)
at android.webkit.WebView.ensureProviderCreated(WebView.java:2180)
at android.webkit.WebView.setOverScrollMode(WebView.java:2239)
at android.view.View.<init>(View.java:3589)
at android.view.View.<init>(View.java:3683)
at android.view.ViewGroup.<init>(ViewGroup.java:492)
at android.widget.AbsoluteLayout.<init>(AbsoluteLayout.java:55)
at android.webkit.WebView.<init>(WebView.java:538)
at android.webkit.WebView.<init>(WebView.java:483)
at android.webkit.WebView.<init>(WebView.java:466)
at android.webkit.WebView.<init>(WebView.java:453)
at android.webkit.WebView.<init>(WebView.java:443)
at anywheresoftware.b4a.objects.WebViewWrapper.innerInitialize(WebViewWrapper.java:51)
at anywheresoftware.b4a.objects.ViewWrapper.Initialize(ViewWrapper.java:65)
at com.BOBs.BBS.chelp._initialize(chelp.java:200)
at com.BOBs.BBS.main._vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv6(main.java:631)
at com.BOBs.BBS.main._activity_resume(main.java:523)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:186)
at anywheresoftware.b4a.BA.raiseEvent(BA.java:166)
at com.BOBs.BBS.main.afterFirstLayout(main.java:108)
at com.BOBs.BBS.main.access$000(main.java:17)
at com.BOBs.BBS.main$WaitForLayout.run(main.java:80)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:5376)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:908)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:703)
Caused by: android.content.pm.PackageManager$NameNotFoundException: com.google.android.webview
at android.app.ApplicationPackageManager.getPackageInfo(ApplicationPackageManager.java:114)
at android.webkit.WebViewFactory.getFactoryClass(WebViewFactory.java:133)
... 33 more