question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Android] MAUI Blazor - internal exceptions on startup (doesn't crash)

See original GitHub issue

Description

The functionality of the app is not important for this issue

[WebViewFactory] Loading com.android.chrome version 69.0.3497.100 (code 349710067)
[zygote64] Rejecting re-init on previously-failed class java.lang.Class<uJ>: java.lang.NoClassDefFoundError: Failed resolution of: Landroid/webkit/TracingController;
[zygote64]   at java.lang.Class java.lang.Class.classForName(java.lang.String, boolean, java.lang.ClassLoader) (Class.java:-2)
[zygote64]   at java.lang.Class java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) (Class.java:453)
[zygote64]   at java.lang.Class android.webkit.WebViewFactory.getWebViewProviderClass(java.lang.ClassLoader) (WebViewFactory.java:150)
[zygote64]   at java.lang.Class android.webkit.WebViewFactory.getProviderClass() (WebViewFactory.java:417)
[zygote64]   at android.webkit.WebViewFactoryProvider android.webkit.WebViewFactory.getProvider() (WebViewFactory.java:211)
[zygote64]   at android.webkit.WebViewFactoryProvider android.webkit.WebView.getFactory() (WebView.java:2467)
[zygote64]   at void android.webkit.WebView.ensureProviderCreated() (WebView.java:2462)
[zygote64]   at void android.webkit.WebView.setOverScrollMode(int) (WebView.java:2527)
[zygote64]   at void android.view.View.<init>(android.content.Context) (View.java:4536)
[zygote64]   at void android.view.View.<init>(android.content.Context, android.util.AttributeSet, int, int) (View.java:4668)
[zygote64]   at void android.view.ViewGroup.<init>(android.content.Context, android.util.AttributeSet, int, int) (ViewGroup.java:597)
[zygote64]   at void android.widget.AbsoluteLayout.<init>(android.content.Context, android.util.AttributeSet, int, int) (AbsoluteLayout.java:55)
[zygote64]   at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int, int, java.util.Map, boolean) (WebView.java:636)
[zygote64]   at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int, int) (WebView.java:581)
[zygote64]   at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int) (WebView.java:564)
[zygote64]   at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet) (WebView.java:551)
[zygote64]   at void android.webkit.WebView.<init>(android.content.Context) (WebView.java:541)
[zygote64]   at void crc64d693e2d9159537db.BlazorAndroidWebView.<init>(android.content.Context) (BlazorAndroidWebView.java:21)
[zygote64]   at void crc6488302ad6e9e4df1a.MauiAppCompatActivity.n_onCreate(android.os.Bundle) (MauiAppCompatActivity.java:-2)
[zygote64]   at void crc6488302ad6e9e4df1a.MauiAppCompatActivity.onCreate(android.os.Bundle) (MauiAppCompatActivity.java:46)
[zygote64]   at void android.app.Activity.performCreate(android.os.Bundle) (Activity.java:6975)
[zygote64]   at void android.app.Instrumentation.callActivityOnCreate(android.app.Activity, android.os.Bundle) (Instrumentation.java:1213)
[zygote64]   at android.app.Activity android.app.ActivityThread.performLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent) (ActivityThread.java:2770)
[zygote64]   at void android.app.ActivityThread.handleLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:2892)
[zygote64]   at void android.app.ActivityThread.-wrap11(android.app.ActivityThread, android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:-1)
[zygote64]   at void android.app.ActivityThread$H.handleMessage(android.os.Message) (ActivityThread.java:1593)
[zygote64]   at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:105)
[zygote64]   at void android.os.Looper.loop() (Looper.java:164)
[zygote64]   at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6541)
[zygote64]   at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2)
[zygote64]   at void com.android.internal.os.Zygote$MethodAndArgsCaller.run() (Zygote.java:240)
[zygote64]   at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:767)
[zygote64] Caused by: java.lang.ClassNotFoundException: Didn't find class "android.webkit.TracingController" on path: DexPathList[[zip file "/system/app/Chrome/Chrome.apk"],nativeLibraryDirectories=[/system/app/Chrome/lib/x86_64, /system/app/Chrome/Chrome.apk!/lib/x86_64, /system/lib64, /vendor/lib64, /system/lib64, /vendor/lib64]]
[zygote64]   at java.lang.Class dalvik.system.BaseDexClassLoader.findClass(java.lang.String) (BaseDexClassLoader.java:93)
[zygote64]   at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean) (ClassLoader.java:379)
[zygote64]   at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String) (ClassLoader.java:312)
[zygote64]   at java.lang.Class java.lang.Class.classForName(java.lang.String, boolean, java.lang.ClassLoader) (Class.java:-2)
[zygote64]   at java.lang.Class java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) (Class.java:453)
[zygote64]   at java.lang.Class android.webkit.WebViewFactory.getWebViewProviderClass(java.lang.ClassLoader) (WebViewFactory.java:150)
[zygote64]   at java.lang.Class android.webkit.WebViewFactory.getProviderClass() (WebViewFactory.java:417)
[zygote64]   at android.webkit.WebViewFactoryProvider android.webkit.WebViewFactory.getProvider() (WebViewFactory.java:211)
[zygote64]   at android.webkit.WebViewFactoryProvider android.webkit.WebView.getFactory() (WebView.java:2467)
[zygote64]   at void android.webkit.WebView.ensureProviderCreated() (WebView.java:2462)
[zygote64]   at void android.webkit.WebView.setOverScrollMode(int) (WebView.java:2527)
[zygote64]   at void android.view.View.<init>(android.content.Context) (View.java:4536)
[zygote64]   at void android.view.View.<init>(android.content.Context, android.util.AttributeSet, int, int) (View.java:4668)
[zygote64]   at void android.view.ViewGroup.<init>(android.content.Context, android.util.AttributeSet, int, int) (ViewGroup.java:597)
[zygote64]   at void android.widget.AbsoluteLayout.<init>(android.content.Context, android.util.AttributeSet, int, int) (AbsoluteLayout.java:55)
[zygote64]   at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int, int, java.util.Map, boolean) (WebView.java:636)
[zygote64]   at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int, int) (WebView.java:581)
[zygote64]   at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int) (WebView.java:564)
[zygote64]   at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet) (WebView.java:551)
[zygote64]   at void android.webkit.WebView.<init>(android.content.Context) (WebView.java:541)
[zygote64]   at void crc64d693e2d9159537db.BlazorAndroidWebView.<init>(android.content.Context) (BlazorAndroidWebView.java:21)
[zygote64]   at void crc6488302ad6e9e4df1a.MauiAppCompatActivity.n_onCreate(android.os.Bundle) (MauiAppCompatActivity.java:-2)
[zygote64]   at void crc6488302ad6e9e4df1a.MauiAppCompatActivity.onCreate(android.os.Bundle) (MauiAppCompatActivity.java:46)
[zygote64]   at void android.app.Activity.performCreate(android.os.Bundle) (Activity.java:6975)
[zygote64]   at void android.app.Instrumentation.callActivityOnCreate(android.app.Activity, android.os.Bundle) (Instrumentation.java:1213)
[zygote64]   at android.app.Activity android.app.ActivityThread.performLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent) (ActivityThread.java:2770)
[zygote64]   at void android.app.ActivityThread.handleLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:2892)
[zygote64]   at void android.app.ActivityThread.-wrap11(android.app.ActivityThread, android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:-1)
[zygote64]   at void android.app.ActivityThread$H.handleMessage(android.os.Message) (ActivityThread.java:1593)
[zygote64]   at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:105)
[zygote64]   at void android.os.Looper.loop() (Looper.java:164)
[zygote64]   at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6541)
[zygote64]   at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2)
[zygote64]   at void com.android.internal.os.Zygote$MethodAndArgsCaller.run() (Zygote.java:240)
[zygote64]   at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:767)
[zygote64] 
[zygote64] Rejecting re-init on previously-failed class java.lang.Class<uJ>: java.lang.NoClassDefFoundError: Failed resolution of: Landroid/webkit/TracingController;
[zygote64]   at java.lang.Class java.lang.Class.classForName(java.lang.String, boolean, java.lang.ClassLoader) (Class.java:-2)
[zygote64]   at java.lang.Class java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) (Class.java:453)
[zygote64]   at java.lang.Class android.webkit.WebViewFactory.getWebViewProviderClass(java.lang.ClassLoader) (WebViewFactory.java:150)
[zygote64]   at java.lang.Class android.webkit.WebViewFactory.getProviderClass() (WebViewFactory.java:417)
[zygote64]   at android.webkit.WebViewFactoryProvider android.webkit.WebViewFactory.getProvider() (WebViewFactory.java:211)
[zygote64]   at android.webkit.WebViewFactoryProvider android.webkit.WebView.getFactory() (WebView.java:2467)
[zygote64]   at void android.webkit.WebView.ensureProviderCreated() (WebView.java:2462)
[zygote64]   at void android.webkit.WebView.setOverScrollMode(int) (WebView.java:2527)
[zygote64]   at void android.view.View.<init>(android.content.Context) (View.java:4536)
[zygote64]   at void android.view.View.<init>(android.content.Context, android.util.AttributeSet, int, int) (View.java:4668)
[zygote64]   at void android.view.ViewGroup.<init>(android.content.Context, android.util.AttributeSet, int, int) (ViewGroup.java:597)
[zygote64]   at void android.widget.AbsoluteLayout.<init>(android.content.Context, android.util.AttributeSet, int, int) (AbsoluteLayout.java:55)
[zygote64]   at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int, int, java.util.Map, boolean) (WebView.java:636)
[zygote64]   at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int, int) (WebView.java:581)
[zygote64]   at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int) (WebView.java:564)
[zygote64]   at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet) (WebView.java:551)
[zygote64]   at void android.webkit.WebView.<init>(android.content.Context) (WebView.java:541)
[zygote64]   at void crc64d693e2d9159537db.BlazorAndroidWebView.<init>(android.content.Context) (BlazorAndroidWebView.java:21)
[zygote64]   at void crc6488302ad6e9e4df1a.MauiAppCompatActivity.n_onCreate(android.os.Bundle) (MauiAppCompatActivity.java:-2)
[zygote64]   at void crc6488302ad6e9e4df1a.MauiAppCompatActivity.onCreate(android.os.Bundle) (MauiAppCompatActivity.java:46)
[zygote64]   at void android.app.Activity.performCreate(android.os.Bundle) (Activity.java:6975)
[zygote64]   at void android.app.Instrumentation.callActivityOnCreate(android.app.Activity, android.os.Bundle) (Instrumentation.java:1213)
[zygote64]   at android.app.Activity android.app.ActivityThread.performLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent) (ActivityThread.java:2770)
[zygote64]   at void android.app.ActivityThread.handleLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:2892)
[zygote64]   at void android.app.ActivityThread.-wrap11(android.app.ActivityThread, android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:-1)
[zygote64]   at void android.app.ActivityThread$H.handleMessage(android.os.Message) (ActivityThread.java:1593)
[zygote64]   at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:105)
[zygote64]   at void android.os.Looper.loop() (Looper.java:164)
[zygote64]   at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6541)
[zygote64]   at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2)
[zygote64]   at void com.android.internal.os.Zygote$MethodAndArgsCaller.run() (Zygote.java:240)
[zygote64]   at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:767)
[zygote64] Caused by: java.lang.ClassNotFoundException: Didn't find class "android.webkit.TracingController" on path: DexPathList[[zip file "/system/app/Chrome/Chrome.apk"],nativeLibraryDirectories=[/system/app/Chrome/lib/x86_64, /system/app/Chrome/Chrome.apk!/lib/x86_64, /system/lib64, /vendor/lib64, /system/lib64, /vendor/lib64]]
[zygote64]   at java.lang.Class dalvik.system.BaseDexClassLoader.findClass(java.lang.String) (BaseDexClassLoader.java:93)
[zygote64]   at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean) (ClassLoader.java:379)
[zygote64]   at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String) (ClassLoader.java:312)
[zygote64]   at java.lang.Class java.lang.Class.classForName(java.lang.String, boolean, java.lang.ClassLoader) (Class.java:-2)
[zygote64]   at java.lang.Class java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) (Class.java:453)
[zygote64]   at java.lang.Class android.webkit.WebViewFactory.getWebViewProviderClass(java.lang.ClassLoader) (WebViewFactory.java:150)
[zygote64]   at java.lang.Class android.webkit.WebViewFactory.getProviderClass() (WebViewFactory.java:417)
[zygote64]   at android.webkit.WebViewFactoryProvider android.webkit.WebViewFactory.getProvider() (WebViewFactory.java:211)
[zygote64]   at android.webkit.WebViewFactoryProvider android.webkit.WebView.getFactory() (WebView.java:2467)
[zygote64]   at void android.webkit.WebView.ensureProviderCreated() (WebView.java:2462)
[zygote64]   at void android.webkit.WebView.setOverScrollMode(int) (WebView.java:2527)
[zygote64]   at void android.view.View.<init>(android.content.Context) (View.java:4536)
[zygote64]   at void android.view.View.<init>(android.content.Context, android.util.AttributeSet, int, int) (View.java:4668)
[zygote64]   at void android.view.ViewGroup.<init>(android.content.Context, android.util.AttributeSet, int, int) (ViewGroup.java:597)
[zygote64]   at void android.widget.AbsoluteLayout.<init>(android.content.Context, android.util.AttributeSet, int, int) (AbsoluteLayout.java:55)
[zygote64]   at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int, int, java.util.Map, boolean) (WebView.java:636)
[zygote64]   at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int, int) (WebView.java:581)
[zygote64]   at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int) (WebView.java:564)
[zygote64]   at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet) (WebView.java:551)
[zygote64]   at void android.webkit.WebView.<init>(android.content.Context) (WebView.java:541)
[zygote64]   at void crc64d693e2d9159537db.BlazorAndroidWebView.<init>(android.content.Context) (BlazorAndroidWebView.java:21)
[zygote64]   at void crc6488302ad6e9e4df1a.MauiAppCompatActivity.n_onCreate(android.os.Bundle) (MauiAppCompatActivity.java:-2)
[zygote64]   at void crc6488302ad6e9e4df1a.MauiAppCompatActivity.onCreate(android.os.Bundle) (MauiAppCompatActivity.java:46)
[zygote64]   at void android.app.Activity.performCreate(android.os.Bundle) (Activity.java:6975)
[zygote64]   at void android.app.Instrumentation.callActivityOnCreate(android.app.Activity, android.os.Bundle) (Instrumentation.java:1213)
[zygote64]   at android.app.Activity android.app.ActivityThread.performLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent) (ActivityThread.java:2770)
[zygote64]   at void android.app.ActivityThread.handleLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:2892)
[zygote64]   at void android.app.ActivityThread.-wrap11(android.app.ActivityThread, android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:-1)
[zygote64]   at void android.app.ActivityThread$H.handleMessage(android.os.Message) (ActivityThread.java:1593)
[zygote64]   at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:105)
[zygote64]   at void android.os.Looper.loop() (Looper.java:164)
[zygote64]   at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6541)
[zygote64]   at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2)
[zygote64]   at void com.android.internal.os.Zygote$MethodAndArgsCaller.run() (Zygote.java:240)
[zygote64]   at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:767)
[zygote64] 
[zygote64] Rejecting re-init on previously-failed class java.lang.Class<uJ>: java.lang.NoClassDefFoundError: Failed resolution of: Landroid/webkit/TracingController;
[zygote64]   at java.lang.Class java.lang.Class.classForName(java.lang.String, boolean, java.lang.ClassLoader) (Class.java:-2)
[zygote64]   at java.lang.Class java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) (Class.java:453)
[zygote64]   at java.lang.Class android.webkit.WebViewFactory.getWebViewProviderClass(java.lang.ClassLoader) (WebViewFactory.java:150)
[zygote64]   at java.lang.Class android.webkit.WebViewFactory.getProviderClass() (WebViewFactory.java:417)
[zygote64]   at android.webkit.WebViewFactoryProvider android.webkit.WebViewFactory.getProvider() (WebViewFactory.java:211)
[zygote64]   at android.webkit.WebViewFactoryProvider android.webkit.WebView.getFactory() (WebView.java:2467)
[zygote64]   at void android.webkit.WebView.ensureProviderCreated() (WebView.java:2462)
[zygote64]   at void android.webkit.WebView.setOverScrollMode(int) (WebView.java:2527)
[zygote64]   at void android.view.View.<init>(android.content.Context) (View.java:4536)
[zygote64]   at void android.view.View.<init>(android.content.Context, android.util.AttributeSet, int, int) (View.java:4668)
[zygote64]   at void android.view.ViewGroup.<init>(android.content.Context, android.util.AttributeSet, int, int) (ViewGroup.java:597)
[zygote64]   at void android.widget.AbsoluteLayout.<init>(android.content.Context, android.util.AttributeSet, int, int) (AbsoluteLayout.java:55)
[zygote64]   at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int, int, java.util.Map, boolean) (WebView.java:636)
[zygote64]   at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int, int) (WebView.java:581)
[zygote64]   at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int) (WebView.java:564)
[zygote64]   at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet) (WebView.java:551)
[zygote64]   at void android.webkit.WebView.<init>(android.content.Context) (WebView.java:541)
[zygote64]   at void crc64d693e2d9159537db.BlazorAndroidWebView.<init>(android.content.Context) (BlazorAndroidWebView.java:21)
[zygote64]   at void crc6488302ad6e9e4df1a.MauiAppCompatActivity.n_onCreate(android.os.Bundle) (MauiAppCompatActivity.java:-2)
[zygote64]   at void crc6488302ad6e9e4df1a.MauiAppCompatActivity.onCreate(android.os.Bundle) (MauiAppCompatActivity.java:46)
[zygote64]   at void android.app.Activity.performCreate(android.os.Bundle) (Activity.java:6975)
[zygote64]   at void android.app.Instrumentation.callActivityOnCreate(android.app.Activity, android.os.Bundle) (Instrumentation.java:1213)
[zygote64]   at android.app.Activity android.app.ActivityThread.performLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent) (ActivityThread.java:2770)
[zygote64]   at void android.app.ActivityThread.handleLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:2892)
[zygote64]   at void android.app.ActivityThread.-wrap11(android.app.ActivityThread, android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:-1)
[zygote64]   at void android.app.ActivityThread$H.handleMessage(android.os.Message) (ActivityThread.java:1593)
[zygote64]   at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:105)
[zygote64]   at void android.os.Looper.loop() (Looper.java:164)
[zygote64]   at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6541)
[zygote64]   at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2)
[zygote64]   at void com.android.internal.os.Zygote$MethodAndArgsCaller.run() (Zygote.java:240)
[zygote64]   at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:767)
[zygote64] Caused by: java.lang.ClassNotFoundException: Didn't find class "android.webkit.TracingController" on path: DexPathList[[zip file "/system/app/Chrome/Chrome.apk"],nativeLibraryDirectories=[/system/app/Chrome/lib/x86_64, /system/app/Chrome/Chrome.apk!/lib/x86_64, /system/lib64, /vendor/lib64, /system/lib64, /vendor/lib64]]
[zygote64]   at java.lang.Class dalvik.system.BaseDexClassLoader.findClass(java.lang.String) (BaseDexClassLoader.java:93)
[zygote64]   at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean) (ClassLoader.java:379)
[zygote64]   at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String) (ClassLoader.java:312)
[zygote64]   at java.lang.Class java.lang.Class.classForName(java.lang.String, boolean, java.lang.ClassLoader) (Class.java:-2)
[zygote64]   at java.lang.Class java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) (Class.java:453)
[zygote64]   at java.lang.Class android.webkit.WebViewFactory.getWebViewProviderClass(java.lang.ClassLoader) (WebViewFactory.java:150)
[zygote64]   at java.lang.Class android.webkit.WebViewFactory.getProviderClass() (WebViewFactory.java:417)
[zygote64]   at android.webkit.WebViewFactoryProvider android.webkit.WebViewFactory.getProvider() (WebViewFactory.java:211)
[zygote64]   at android.webkit.WebViewFactoryProvider android.webkit.WebView.getFactory() (WebView.java:2467)
[zygote64]   at void android.webkit.WebView.ensureProviderCreated() (WebView.java:2462)
[zygote64]   at void android.webkit.WebView.setOverScrollMode(int) (WebView.java:2527)
[zygote64]   at void android.view.View.<init>(android.content.Context) (View.java:4536)
[zygote64]   at void android.view.View.<init>(android.content.Context, android.util.AttributeSet, int, int) (View.java:4668)
[zygote64]   at void android.view.ViewGroup.<init>(android.content.Context, android.util.AttributeSet, int, int) (ViewGroup.java:597)
[zygote64]   at void android.widget.AbsoluteLayout.<init>(android.content.Context, android.util.AttributeSet, int, int) (AbsoluteLayout.java:55)
[zygote64]   at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int, int, java.util.Map, boolean) (WebView.java:636)
[zygote64]   at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int, int) (WebView.java:581)
[zygote64]   at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int) (WebView.java:564)
[zygote64]   at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet) (WebView.java:551)
[zygote64]   at void android.webkit.WebView.<init>(android.content.Context) (WebView.java:541)
[zygote64]   at void crc64d693e2d9159537db.BlazorAndroidWebView.<init>(android.content.Context) (BlazorAndroidWebView.java:21)
[zygote64]   at void crc6488302ad6e9e4df1a.MauiAppCompatActivity.n_onCreate(android.os.Bundle) (MauiAppCompatActivity.java:-2)
[zygote64]   at void crc6488302ad6e9e4df1a.MauiAppCompatActivity.onCreate(android.os.Bundle) (MauiAppCompatActivity.java:46)
[zygote64]   at void android.app.Activity.performCreate(android.os.Bundle) (Activity.java:6975)
[zygote64]   at void android.app.Instrumentation.callActivityOnCreate(android.app.Activity, android.os.Bundle) (Instrumentation.java:1213)
[zygote64]   at android.app.Activity android.app.ActivityThread.performLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent) (ActivityThread.java:2770)
[zygote64]   at void android.app.ActivityThread.handleLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:2892)
[zygote64]   at void android.app.ActivityThread.-wrap11(android.app.ActivityThread, android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:-1)
[zygote64]   at void android.app.ActivityThread$H.handleMessage(android.os.Message) (ActivityThread.java:1593)
[zygote64]   at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:105)
[zygote64]   at void android.os.Looper.loop() (Looper.java:164)
[zygote64]   at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6541)
[zygote64]   at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2)
[zygote64]   at void com.android.internal.os.Zygote$MethodAndArgsCaller.run() (Zygote.java:240)
[zygote64]   at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:767)
[zygote64] 

Steps to Reproduce

  1. MauiApp1.zip
  2. image
  3. watch output window during startup
  4. observe the internal exceptions

Version with bug

GA

Last version that worked well

Unknown/Other

Affected platforms

Android

Affected platform versions

Android 8

Did you find any workaround?

No response

Relevant log output

No response

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
jonathanpepperscommented, May 26, 2022

There is a separate .apk that contains the Chrome WebView mentioned here:

https://developer.chrome.com/docs/multidevice/webview/

Maybe you can update this package, and that is all you need.

0reactions
janseriscommented, Jun 9, 2022

Looks like this is something that has to do with a Android version and updates then.

Just putting this here for reference: as per our Docs .NET MAUI Blazor apps require Android 7+.

I will close this for now as it’s not very actionable. If we get more reports and ideally a reproduction of this on a platform that should be support, we can have another look!

This is repro on supported platform. The issue is reported for Android 8 emulator with predefined settings via Visual Studio. This means there shouldn’t be any errors because 8 > 7 And because Android 8 is supported, I am reporting it as a bug.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Blazor MAUI app crashes on start in Release config ...
I have written a .NET MAUI Blazor app and have run into an issue where it is now crashing as soon as the...
Read more >
How to fix your MAUI Blazor app crashing on startup with ...
This article explains how to fix your Blazor Hybrid MAUI application (built with Blazor Webassembly, using MAUI to build & publish for multiple ......
Read more >
MAUI App crashes when built in Release mode
I have an MVVM MAUI app that is working fine when running in Visual Studio in debug mode. If I build for release...
Read more >
MAUI might be the worst developer experience I have had ...
If Microsoft choose react over blazor and react native over MAUI, I don't see why i would. The VS installation complain about android...
Read more >
Performance Improvements in .NET MAUI
Want to know why .NET MAUI apps boot faster, run smoother, and are smaller? This post break down how we made .NET MAUI...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found