Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PlatformException(error, android.content.pm.PackageManager$NameNotFoundException #2

Open
andersonmendesdev opened this issue Sep 6, 2021 · 0 comments

Comments

@andersonmendesdev
Copy link

andersonmendesdev commented Sep 6, 2021

I caught this error in one of my usage logs on a production device.

fk_user_agent.dart in FkUserAgent.init at line 18 within fk_user_agent
Called from: <asynchronous suspension>
fk_user_agent.dart in FkUserAgent.getPropertyAsync at line 45 within fk_user_agent
Called from: <asynchronous suspension>

PlatformException: PlatformException(error, android.content.pm.PackageManager$NameNotFoundException: com.google.android.webview, null, android.util.AndroidRuntimeException: android.content.pm.PackageManager$NameNotFoundException: com.google.android.webview at android.webkit.WebViewFactory.getFactoryClass(WebViewFactory.java:174) at android.webkit.WebViewFactory.getProvider(WebViewFactory.java:109) at android.webkit.WebSettings.getDefaultUserAgent(WebSettings.java:1229) at f.b.a.a.d(FkUserAgentPlugin.java:2) at f.b.a.a.b(FkUserAgentPlugin.java:22) at f.b.a.a.onMethodCall(FkUserAgentPlugin.java:2) at f.a.c.a.i$a.a(MethodChannel.java:2) at io.flutter.embedding.engine.e.b.d(DartMessenger.java:5) at io.flutter.embedding.engine.FlutterJNI.handlePlatformMessage(FlutterJNI.java:2) at android.os.MessageQueue.nativePollOnce(Native Method) at android.os.MessageQueue.next(MessageQueue.java:143) at android.os.Looper.loop(Looper.java:122) at android.app.ActivityThread.main(ActivityThread.java:5421) 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:914) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:707) 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:146)

Device
Name | Android
Rooted | no
Version | 5.1.1(LMY47V)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant