Open kw2019ltd opened 5 years ago
I was having this problem, in my case it's disappear after i upgrade the Android to Nougat version
I was having this problem, in my case it's disappear after i upgrade the Android to Nougat version
You upgrade android emulator? because i have same problem
I/zygote (11687): at void com.afur.flutterhtmltopdf.HtmlToPdfConverter.convert(java.lang.String, android.app.Activity, com.afur.flutterhtmltopdf.HtmlToPdfConverter$Callback) (HtmlToPdfConverter.kt:21) I/zygote (11687): at void com.afur.flutterhtmltopdf.FlutterHtmlToPdfPlugin.convertHtmlToPdf(io.flutter.plugin.common.MethodCall, io.flutter.plugin.common.MethodChannel$Result) (FlutterHtmlToPdfPlugin.kt:30) I/zygote (11687): at void com.afur.flutterhtmltopdf.FlutterHtmlToPdfPlugin.onMethodCall(io.flutter.plu
Reloaded 5 of 910 libraries in 1,925ms. I/WebViewFactory(11687): Loading com.android.chrome version 69.0.3497.100 (code 349710017) I/zygote (11687): The ClassLoaderContext is a special shared library. I/zygote (11687): Rejecting re-init on previously-failed class java.lang.Class: java.lang.NoClassDefFoundError: Failed resolution of: Landroid/webkit/TracingController;
I/zygote (11687): at java.lang.Class java.lang.Class.classForName(java.lang.String, boolean, java.lang.ClassLoader) (Class.java:-2)
I/zygote (11687): at java.lang.Class java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) (Class.java:453)
I/zygote (11687): at java.lang.Class android.webkit.WebViewFactory.getWebViewProviderClass(java.lang.ClassLoader) (WebViewFactory.java:128)
I/zygote (11687): at java.lang.Class android.webkit.WebViewFactory.getProviderClass() (WebViewFactory.java:402)
I/zygote (11687): at android.webkit.WebViewFactoryProvider android.webkit.WebViewFactory.getProvider() (WebViewFactory.java:194)
I/zygote (11687): at android.webkit.WebViewFactoryProvider android.webkit.WebView.getFactory() (WebView.java:2530)
I/zygote (11687): at void android.webkit.WebView.ensureProviderCreated() (WebView.java:2525)
I/zygote (11687): at void android.webkit.WebView.setOverScrollMode(int) (WebView.java:2590)
I/zygote (11687): at void android.view.View.(android.content.Context) (View.java:4574)
I/zygote (11687): at void android.view.View.(android.content.Context, android.util.AttributeSet, int, int) (View.java:4706)
I/zygote (11687): at void android.view.ViewGroup.(android.content.Context, android.util.AttributeSet, int, int) (ViewGroup.java:597)
I/zygote (11687): at void android.widget.AbsoluteLayout.(android.content.Context, android.util.AttributeSet, int, int) (AbsoluteLayout.java:55)
I/zygote (11687): at void android.webkit.WebView.(android.content.Context, android.util.AttributeSet, int, int, java.util.Map, boolean) (WebView.java:643)
I/zygote (11687): at void android.webkit.WebView.(android.content.Context, android.util.AttributeSet, int, int) (WebView.java:588)
I/zygote (11687): at void android.webkit.WebView.(android.content.Context, android.util.AttributeSet, int) (WebView.java:571)
I/zygote (11687): at void android.webkit.WebView.(android.content.Context, android.util.AttributeSet) (WebView.java:558)
I/zygote (11687): at void android.webkit.WebView.(android.content.Context) (WebView.java:548)
I/zygote (11687): at void com.afur.flutterhtmltopdf.HtmlToPdfConverter.convert(java.lang.String, android.app.Activity, com.afur.flutterhtmltopdf.HtmlToPdfConverter$Callback) (HtmlToPdfConverter.kt:21)
I/zygote (11687): at void com.afur.flutterhtmltopdf.FlutterHtmlToPdfPlugin.convertHtmlToPdf(io.flutter.plugin.common.MethodCall, io.flutter.plugin.common.MethodChannel$Result) (FlutterHtmlToPdfPlugin.kt:30)
I/zygote (11687): at void com.afur.flutterhtmltopdf.FlutterHtmlToPdfPlugin.onMethodCall(io.flutter.plugin.common.MethodCall, io.flutter.plugin.common.MethodChannel$Result) (FlutterHtmlToPdfPlugin.kt:21)
I/zygote (11687): at void io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(java.nio.ByteBuffer, io.flutter.plugin.common.BinaryMessenger$BinaryReply) (MethodChannel.java:201)
I/zygote (11687): at void io.flutter.embedding.engine.dart.DartMessenger.handleMessageFromDart(java.lang.String, byte[], int) (DartMessenger.java:88)
I/zygote (11687): at void io.flutter.embedding.engine.FlutterJNI.handlePlatformMessage(java.lang.String, byte[], int) (FlutterJNI.java:219)
I/zygote (11687): at void android.os.MessageQueue.nativePollOnce(long, int) (MessageQueue.java:-2)
I/zygote (11687): at android.os.Message android.os.MessageQueue.next() (MessageQueue.java:325)
I/zygote (11687): at void android.os.Looper.loop() (Looper.java:142)
I/zygote (11687): at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6494)
I/zygote (11687): at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2)
I/zygote (11687): at void com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run() (RuntimeInit.java:438)
I/zygote (11687): at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:807)
I/zygote (11687): 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, /system/app/Chrome/Chrome.apk!/lib/x86, /system/lib, /vendor/lib, /system/lib, /vendor/lib]]
I/zygote (11687): at java.lang.Class dalvik.system.BaseDexClassLoader.findClass(java.lang.String) (BaseDexClassLoader.java:125)
I/zygote (11687): at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean) (ClassLoader.java:379)
I/zygote (11687): at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String) (ClassLoader.java:312)
I/zygote (11687): at java.lang.Class java.lang.Class.classForName(java.lang.String, boolean, java.lang.ClassLoader) (Class.java:-2)
I/zygote (11687): at java.lang.Class java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) (Class.java:453)
I/zygote (11687): at java.lang.Class android.webkit.WebViewFactory.getWebViewProviderClass(java.lang.ClassLoader) (WebViewFactory.java:128)
I/zygote (11687): at java.lang.Class android.webkit.WebViewFactory.getProviderClass() (WebViewFactory.java:402)
I/zygote (11687): at android.webkit.WebViewFactoryProvider android.webkit.WebViewFactory.getProvider() (WebViewFactory.java:194)
I/zygote (11687): at android.webkit.WebViewFactoryProvider android.webkit.WebView.getFactory() (WebView.java:2530)
I/zygote (11687): at void android.webkit.WebView.ensureProviderCreated() (WebView.java:2525)
I/zygote (11687): at void android.webkit.WebView.setOverScrollMode(int) (WebView.java:2590)
I/zygote (11687): at void android.view.View.(android.content.Context) (View.java:4574)
I/zygote (11687): at void android.view.View.(android.content.Context, android.util.AttributeSet, int, int) (View.java:4706)
I/zygote (11687): at void android.view.ViewGroup.(android.content.Context, android.util.AttributeSet, int, int) (ViewGroup.java:597)
I/zygote (11687): at void android.widget.AbsoluteLayout.(android.content.Context, android.util.AttributeSet, int, int) (AbsoluteLayout.java:55)
I/zygote (11687): at void android.webkit.WebView.(android.content.Context, android.util.AttributeSet, int, int, java.util.Map, boolean) (WebView.java:643)
I/zygote (11687): at void android.webkit.WebView.(android.content.Context, android.util.AttributeSet, int, int) (WebView.java:588)
I/zygote (11687): at void android.webkit.WebView.(android.content.Context, android.util.AttributeSet, int) (WebView.java:571)
I/zygote (11687): at void android.webkit.WebView.(android.content.Context, android.util.AttributeSet) (WebView.java:558)
I/zygote (11687): at void android.webkit.WebView.(android.content.Context) (WebView.java:548)
I/zygote (11687): at void com.afur.flutterhtmltopdf.HtmlToPdfConverter.convert(java.lang.String, android.app.Activity, com.afur.flutterhtmltopdf.HtmlToPdfConverter$Callback) (HtmlToPdfConverter.kt:21)
I/zygote (11687): at void com.afur.flutterhtmltopdf.FlutterHtmlToPdfPlugin.convertHtmlToPdf(io.flutter.plugin.common.MethodCall, io.flutter.plugin.common.MethodChannel$Result) (FlutterHtmlToPdfPlugin.kt:30)
I/zygote (11687): at void com.afur.flutterhtmltopdf.FlutterHtmlToPdfPlugin.onMethodCall(io.flutter.plugin.common.MethodCall, io.flutter.plugin.common.MethodChannel$Result) (FlutterHtmlToPdfPlugin.kt:21)
I/zygote (11687): at void io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(java.nio.ByteBuffer, io.flutter.plugin.common.BinaryMessenger$BinaryReply) (MethodChannel.java:201)
I/zygote (11687): at void io.flutter.embedding.engine.dart.DartMessenger.handleMessageFromDart(java.lang.String, byte[], int) (DartMessenger.java:88)
I/zygote (11687): at void io.flutter.embedding.engine.FlutterJNI.handlePlatformMessage(java.lang.String, byte[], int) (FlutterJNI.java:219)
I/zygote (11687): at void android.os.MessageQueue.nativePollOnce(long, int) (MessageQueue.java:-2)
I/zygote (11687): at android.os.Message android.os.MessageQueue.next() (MessageQueue.java:325)
I/zygote (11687): at void android.os.Looper.loop() (Looper.java:142)
I/zygote (11687): at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6494)
I/zygote (11687): at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2)
I/zygote (11687): at void com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run() (RuntimeInit.java:438)
I/zygote (11687): at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:807)