BlackBox is a virtual engine, it can clone and run virtual application on Android, users don't have to install APK file to run the application on devices. BlackBox control all virtual applications, so you can do anything you want by using BlackBox.
Describe the bug / 描述一下这个错误
A clear and concise description of what the bug is.
清晰而简明地描述什么是错误。
To Reproduce / 复现步骤
Process: com.javhjasd.ihid.ausgfa, PID: 3060
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.javhjasd.ihid.ausgfa/com.FirePhoenix.online.cachewebview.MainActivity}: android.view.InflateException: Binary XML file line #10: Binary XML file line #10: Error inflating class android.webkit.WebView
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2698)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2759)
at android.app.ActivityThread.-wrap12(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1482)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6190)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:892)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:782)
Caused by: android.view.InflateException: Binary XML file line #10: Binary XML file line #10: Error inflating class android.webkit.WebView
Caused by: android.view.InflateException: Binary XML file line #10: Error inflating class android.webkit.WebView
Caused by: java.lang.reflect.InvocationTargetException
at java.lang.reflect.Constructor.newInstance0(Native Method)
at java.lang.reflect.Constructor.newInstance(Constructor.java:430)
at android.view.LayoutInflater.createView(LayoutInflater.java:645)
at com.android.internal.policy.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:58)
at android.view.LayoutInflater.onCreateView(LayoutInflater.java:717)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:785)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:727)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:858)
at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:821)
at android.view.LayoutInflater.inflate(LayoutInflater.java:518)
at android.view.LayoutInflater.inflate(LayoutInflater.java:426)
at android.view.LayoutInflater.inflate(LayoutInflater.java:377)
at com.android.internal.policy.PhoneWindow.setContentView(PhoneWindow.java:412)
at android.app.Activity.setContentView(Activity.java:2433)
at com.FirePhoenix.online.cachewebview.MainActivity.onCreate(MainActivity.java:164)
at android.app.Activity.performCreate(Activity.java:6701)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1118)
at top.niunaijun.blackbox.fake.delegate.BaseInstrumentationDelegate.callActivityOnCreate(BaseInstrumentationDelegate.java:240)
at top.niunaijun.blackbox.fake.delegate.AppInstrumentation.callActivityOnCreate(AppInstrumentation.java:134)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2651)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2759)
at android.app.ActivityThread.-wrap12(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1482)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6190)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:892)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:782)
Caused by: android.util.AndroidRuntimeException: android.webkit.WebViewFactory$MissingWebViewPackageException: Failed to load WebView provider: android.content.pm.PackageManager$NameNotFoundException: com.android.chrome
at android.webkit.WebViewFactory.getProviderClass(WebViewFactory.java:371)
at android.webkit.WebViewFactory.getProvider(WebViewFactory.java:194)
at android.webkit.WebView.getFactory(WebView.java:2370)
at android.webkit.WebView.ensureProviderCreated(WebView.java:2365)
at android.webkit.WebView.setOverScrollMode(WebView.java:2424)
at android.view.View.(View.java:4023)
2023-07-27 17:22:13.278 3060-3060 AndroidRuntime top.niunaijun.blackboxa32 E at android.view.View.(View.java:4146)
at android.view.ViewGroup.(ViewGroup.java:581)
at android.widget.AbsoluteLayout.(AbsoluteLayout.java:55)
at android.webkit.WebView.(WebView.java:631)
at android.webkit.WebView.(WebView.java:576)
at android.webkit.WebView.(WebView.java:559)
at android.webkit.WebView.(WebView.java:546)
... 29 more
Caused by: android.webkit.WebViewFactory$MissingWebViewPackageException: Failed to load WebView provider: android.content.pm.PackageManager$NameNotFoundException: com.android.chrome
at android.webkit.WebViewFactory.getWebViewContextAndSetProvider(WebViewFactory.java:318)
at android.webkit.WebViewFactory.getProviderClass(WebViewFactory.java:330)
... 41 more
Describe the bug / 描述一下这个错误 A clear and concise description of what the bug is. 清晰而简明地描述什么是错误。
To Reproduce / 复现步骤
Process: com.javhjasd.ihid.ausgfa, PID: 3060 java.lang.RuntimeException: Unable to start activity ComponentInfo{com.javhjasd.ihid.ausgfa/com.FirePhoenix.online.cachewebview.MainActivity}: android.view.InflateException: Binary XML file line #10: Binary XML file line #10: Error inflating class android.webkit.WebView at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2698) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2759) at android.app.ActivityThread.-wrap12(ActivityThread.java) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1482) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:154) at android.app.ActivityThread.main(ActivityThread.java:6190) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:892) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:782) Caused by: android.view.InflateException: Binary XML file line #10: Binary XML file line #10: Error inflating class android.webkit.WebView Caused by: android.view.InflateException: Binary XML file line #10: Error inflating class android.webkit.WebView Caused by: java.lang.reflect.InvocationTargetException at java.lang.reflect.Constructor.newInstance0(Native Method) at java.lang.reflect.Constructor.newInstance(Constructor.java:430) at android.view.LayoutInflater.createView(LayoutInflater.java:645) at com.android.internal.policy.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:58) at android.view.LayoutInflater.onCreateView(LayoutInflater.java:717) at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:785) at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:727) at android.view.LayoutInflater.rInflate(LayoutInflater.java:858) at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:821) at android.view.LayoutInflater.inflate(LayoutInflater.java:518) at android.view.LayoutInflater.inflate(LayoutInflater.java:426) at android.view.LayoutInflater.inflate(LayoutInflater.java:377) at com.android.internal.policy.PhoneWindow.setContentView(PhoneWindow.java:412) at android.app.Activity.setContentView(Activity.java:2433) at com.FirePhoenix.online.cachewebview.MainActivity.onCreate(MainActivity.java:164) at android.app.Activity.performCreate(Activity.java:6701) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1118) at top.niunaijun.blackbox.fake.delegate.BaseInstrumentationDelegate.callActivityOnCreate(BaseInstrumentationDelegate.java:240) at top.niunaijun.blackbox.fake.delegate.AppInstrumentation.callActivityOnCreate(AppInstrumentation.java:134) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2651) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2759) at android.app.ActivityThread.-wrap12(ActivityThread.java) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1482) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:154) at android.app.ActivityThread.main(ActivityThread.java:6190) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:892) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:782) Caused by: android.util.AndroidRuntimeException: android.webkit.WebViewFactory$MissingWebViewPackageException: Failed to load WebView provider: android.content.pm.PackageManager$NameNotFoundException: com.android.chrome at android.webkit.WebViewFactory.getProviderClass(WebViewFactory.java:371) at android.webkit.WebViewFactory.getProvider(WebViewFactory.java:194) at android.webkit.WebView.getFactory(WebView.java:2370) at android.webkit.WebView.ensureProviderCreated(WebView.java:2365) at android.webkit.WebView.setOverScrollMode(WebView.java:2424) at android.view.View.(View.java:4023)
2023-07-27 17:22:13.278 3060-3060 AndroidRuntime top.niunaijun.blackboxa32 E at android.view.View.(View.java:4146)
at android.view.ViewGroup.(ViewGroup.java:581)
at android.widget.AbsoluteLayout.(AbsoluteLayout.java:55)
at android.webkit.WebView.(WebView.java:631)
at android.webkit.WebView.(WebView.java:576)
at android.webkit.WebView.(WebView.java:559)
at android.webkit.WebView.(WebView.java:546)
... 29 more
Caused by: android.webkit.WebViewFactory$MissingWebViewPackageException: Failed to load WebView provider: android.content.pm.PackageManager$NameNotFoundException: com.android.chrome
at android.webkit.WebViewFactory.getWebViewContextAndSetProvider(WebViewFactory.java:318)
at android.webkit.WebViewFactory.getProviderClass(WebViewFactory.java:330)
... 41 more