Unity Ads
We get the following error. All information related to the error is as follows.
We suppose that the problem is resulted from the Unity Ads itself: at com.unity3d.ads.webview.WebView.(WebView.java:22)
How can we fix this problem?
java.lang.Error: FATAL EXCEPTION [main] Unity version : 5.5.0f3 Device model : HTC HTC Desire 626 Android Version : Android 6.0 Device fingerprint: htc/a32ul_emea_htc_europe/htc_a32ul_emea:6.0.1/MMB29M/753272.5:user/release-keys Caused by: android.util.AndroidRuntimeException: android.webkit.WebViewFactory$MissingWebViewPackageException: android.content.pm.PackageManager$NameNotFoundException: com.google.android.webview at android.webkit.WebViewFactory.getProviderClass(WebViewFactory.java:211) at android.webkit.WebViewFactory.getProvider(WebViewFactory.java:158) at android.webkit.WebView.getFactory(WebView.java:2277) at android.webkit.WebView.ensureProviderCreated(WebView.java:2272) at android.webkit.WebView.setOverScrollMode(WebView.java:2331) at android.view.View.(View.java:3808) at android.view.View.(View.java:3911) at android.view.ViewGroup.(ViewGroup.java:573) at android.widget.AbsoluteLayout.(AbsoluteLayout.java:55) at android.webkit.WebView.(WebView.java:597) at android.webkit.WebView.(WebView.java:542) at android.webkit.WebView.(WebView.java:525) at android.webkit.WebView.(WebView.java:512) at android.webkit.WebView.(WebView.java:502) at com.unity3d.ads.webview.WebView.(WebView.java:22) at com.unity3d.ads.webview.WebViewApp.(WebViewApp.java:46) at com.unity3d.ads.webview.WebViewApp.(WebViewApp.java:32) at com.unity3d.ads.webview.WebViewApp$1.run(WebViewApp.java:247) at android.os.Handler.handleCallback(Handler.java:739) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:168) at android.app.ActivityThread.main(ActivityThread.java:5885) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:797) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:687) Caused by: android.webkit.WebViewFactory$MissingWebViewPackageException: android.content.pm.PackageManager$NameNotFoundException: com.google.android.webview at android.webkit.WebViewFactory.fetchPackageInfo(WebViewFactory.java:109) at android.webkit.WebViewFactory.getProviderClass(WebViewFactory.java:183) ... 24 more Caused by: android.content.pm.PackageManager$NameNotFoundException: com.google.android.webview at android.app.ApplicationPackageManager.getPackageInfo(ApplicationPackageManager.java:145) at android.webkit.WebViewFactory.fetchPackageInfo(WebViewFactory.java:107)
Answer by barciu · Nov 20, 2017 at 08:50 AM
It's a known Android issue happening when WebView is being updated and some app is trying to use it: https://bugs.chromium.org/p/chromium/issues/detail?id=506369 I don't think much can be done about it, but the probability of it occurring is rather low.
Your answer
Follow this Question
Related Questions
need help with Heyzap 0 Answers
Unity Ads 0$ 1 Answer
Unity Ad shows twice? 3 Answers
HeyZap xcode build error symbol(s) not found for architecture arm64 0 Answers
Unity ads only dummy on phone live 0 Answers