NoClassDefFoundError: Failed resolution of: Landroid/webkit/PacProcessor
See original GitHub issueHi! I’m getting this error during startup (compilation runs fine) of my app which is run using USB on a physical device (Nexus 5X, Android 8.1). I ASSUME, something is wrong with react-native-webview since the error is caused by chrome.
I’m using react-native-webview (11.23.0)
. I also tried to upgrade to the latest 11.23.0
and some version between, but it doesn’t resolve it either.
I have no idea why the error suddenly appears. I checked out a commit for which I successfully built a working release in the past, but now it doesn’t work anymore. The only things which changed are that I migrated to an Apple M1 and that I bumped up the SDK versions to 31. Any suggestions? Struggling since hours to get it running. If you need further information to trace it just let me know. Thanks!
... I/WebViewFactory: Loading com.android.chrome version 104.0.5112.97 (code 511209723) I/zygote64: Rejecting re-init on previously-failed class java.lang.Class<lx2>: java.lang.NoClassDefFoundError: Failed resolution of: Landroid/webkit/PacProcessor; I/zygote64: at java.lang.Class java.lang.Class.classForName(java.lang.String, boolean, java.lang.ClassLoader) (Class.java:-2) I/zygote64: at java.lang.Class java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) (Class.java:453) I/zygote64: at java.lang.Class android.webkit.WebViewFactory.getWebViewProviderClass(java.lang.ClassLoader) (WebViewFactory.java:128) I/zygote64: at java.lang.Class android.webkit.WebViewFactory.getProviderClass() (WebViewFactory.java:402) I/zygote64: at android.webkit.WebViewFactoryProvider android.webkit.WebViewFactory.getProvider() (WebViewFactory.java:194) I/zygote64: at android.webkit.CookieManager android.webkit.CookieManager.getInstance() (CookieManager.java:39) I/zygote64: at android.webkit.CookieManager com.facebook.react.modules.network.ForwardingCookieHandler.getCookieManager() (ForwardingCookieHandler.java:180) I/zygote64: at java.util.Map com.facebook.react.modules.network.ForwardingCookieHandler.get(java.net.URI, java.util.Map) (ForwardingCookieHandler.java:58) I/zygote64: at java.lang.String com.facebook.react.modules.websocket.WebSocketModule.getCookie(java.lang.String) (WebSocketModule.java:392) I/zygote64: at void com.facebook.react.modules.websocket.WebSocketModule.connect(java.lang.String, com.facebook.react.bridge.ReadableArray, com.facebook.react.bridge.ReadableMap, double) (WebSocketModule.java:100) I/zygote64: at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2) I/zygote64: at void com.facebook.react.bridge.JavaMethodWrapper.invoke(com.facebook.react.bridge.JSInstance, com.facebook.react.bridge.ReadableArray) (JavaMethodWrapper.java:372) I/zygote64: at void com.facebook.react.bridge.JavaModuleWrapper.invoke(int, com.facebook.react.bridge.ReadableNativeArray) (JavaModuleWrapper.java:151) I/zygote64: at void com.facebook.react.bridge.queue.NativeRunnable.run() (NativeRunnable.java:-2) I/zygote64: at void android.os.Handler.handleCallback(android.os.Message) (Handler.java:790) I/zygote64: at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:99) I/zygote64: at void com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(android.os.Message) (MessageQueueThreadHandler.java:27) I/zygote64: at void android.os.Looper.loop() (Looper.java:164) I/zygote64: at void com.facebook.react.bridge.queue.MessageQueueThreadImpl$4.run() (MessageQueueThreadImpl.java:226) I/zygote64: at void java.lang.Thread.run() (Thread.java:764) I/zygote64: Caused by: java.lang.ClassNotFoundException: Didn't find class "android.webkit.PacProcessor" on path: DexPathList[[zip file "/data/app/com.android.chrome-cgS0b8ZPBSTF9XLNM1uYhQ==/base.apk"],nativeLibraryDirectories=[/data/app/com.android.chrome-cgS0b8ZPBSTF9XLNM1uYhQ==/lib/arm64, /data/app/com.android.chrome-cgS0b8ZPBSTF9XLNM1uYhQ==/base.apk!/lib/arm64-v8a, /system/lib64, /vendor/lib64]] I/zygote64: at java.lang.Class dalvik.system.BaseDexClassLoader.findClass(java.lang.String) (BaseDexClassLoader.java:125) I/zygote64: at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean) (ClassLoader.java:379) I/zygote64: at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String) (ClassLoader.java:312) I/zygote64: at java.lang.Class java.lang.Class.classForName(java.lang.String, boolean, java.lang.ClassLoader) (Class.java:-2) I/zygote64: at java.lang.Class java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) (Class.java:453) I/zygote64: at java.lang.Class android.webkit.WebViewFactory.getWebViewProviderClass(java.lang.ClassLoader) (WebViewFactory.java:128) I/zygote64: at java.lang.Class android.webkit.WebViewFactory.getProviderClass() (WebViewFactory.java:402) I/zygote64: at android.webkit.WebViewFactoryProvider android.webkit.WebViewFactory.getProvider() (WebViewFactory.java:194) I/zygote64: at android.webkit.CookieManager android.webkit.CookieManager.getInstance() (CookieManager.java:39) I/zygote64: at android.webkit.CookieManager com.facebook.react.modules.network.ForwardingCookieHandler.getCookieManager() (ForwardingCookieHandler.java:180) I/zygote64: at java.util.Map com.facebook.react.modules.network.ForwardingCookieHandler.get(java.net.URI, java.util.Map) (ForwardingCookieHandler.java:58) I/zygote64: at java.lang.String com.facebook.react.modules.websocket.WebSocketModule.getCookie(java.lang.String) (WebSocketModule.java:392) I/zygote64: at void com.facebook.react.modules.websocket.WebSocketModule.connect(java.lang.String, com.facebook.react.bridge.ReadableArray, com.facebook.react.bridge.ReadableMap, double) (WebSocketModule.java:100) I/zygote64: at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2) I/zygote64: at void com.facebook.react.bridge.JavaMethodWrapper.invoke(com.facebook.react.bridge.JSInstance, com.facebook.react.bridge.ReadableArray) (JavaMethodWrapper.java:372) I/zygote64: at void com.facebook.react.bridge.JavaModuleWrapper.invoke(int, com.facebook.react.bridge.ReadableNativeArray) (JavaModuleWrapper.java:151) I/zygote64: at void com.facebook.react.bridge.queue.NativeRunnable.run() (NativeRunnable.java:-2) I/zygote64: at void android.os.Handler.handleCallback(android.os.Message) (Handler.java:790) I/zygote64: at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:99) I/zygote64: at void com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(android.os.Message) (MessageQueueThreadHandler.java:27) I/zygote64: at void android.os.Looper.loop() (Looper.java:164) I/zygote64: at void com.facebook.react.bridge.queue.MessageQueueThreadImpl$4.run() (MessageQueueThreadImpl.java:226) I/zygote64: at void java.lang.Thread.run() (Thread.java:764) I/zygote64: I/zygote64: Rejecting re-init on previously-failed class java.lang.Class<lx2>: java.lang.NoClassDefFoundError: Failed resolution of: Landroid/webkit/PacProcessor; I/zygote64: at java.lang.Class java.lang.Class.classForName(java.lang.String, boolean, java.lang.ClassLoader) (Class.java:-2) I/zygote64: at java.lang.Class java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) (Class.java:453) I/zygote64: at java.lang.Class android.webkit.WebViewFactory.getWebViewProviderClass(java.lang.ClassLoader) (WebViewFactory.java:128) I/zygote64: at java.lang.Class android.webkit.WebViewFactory.getProviderClass() (WebViewFactory.java:402) I/zygote64: at android.webkit.WebViewFactoryProvider android.webkit.WebViewFactory.getProvider() (WebViewFactory.java:194) I/zygote64: at android.webkit.CookieManager android.webkit.CookieManager.getInstance() (CookieManager.java:39) I/zygote64: at android.webkit.CookieManager com.facebook.react.modules.network.ForwardingCookieHandler.getCookieManager() (ForwardingCookieHandler.java:180) I/zygote64: at java.util.Map com.facebook.react.modules.network.ForwardingCookieHandler.get(java.net.URI, java.util.Map) (ForwardingCookieHandler.java:58) I/zygote64: at java.lang.String com.facebook.react.modules.websocket.WebSocketModule.getCookie(java.lang.String) (WebSocketModule.java:392) I/zygote64: at void com.facebook.react.modules.websocket.WebSocketModule.connect(java.lang.String, com.facebook.react.bridge.ReadableArray, com.facebook.react.bridge.ReadableMap, double) (WebSocketModule.java:100) I/zygote64: at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2) I/zygote64: at void com.facebook.react.bridge.JavaMethodWrapper.invoke(com.facebook.react.bridge.JSInstance, com.facebook.react.bridge.ReadableArray) (JavaMethodWrapper.java:372) I/zygote64: at void com.facebook.react.bridge.JavaModuleWrapper.invoke(int, com.facebook.react.bridge.ReadableNativeArray) (JavaModuleWrapper.java:151) I/zygote64: at void com.facebook.react.bridge.queue.NativeRunnable.run() (NativeRunnable.java:-2) I/zygote64: at void android.os.Handler.handleCallback(android.os.Message) (Handler.java:790) I/zygote64: at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:99) I/zygote64: at void com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(android.os.Message) (MessageQueueThreadHandler.java:27) I/zygote64: at void android.os.Looper.loop() (Looper.java:164) I/zygote64: at void com.facebook.react.bridge.queue.MessageQueueThreadImpl$4.run() (MessageQueueThreadImpl.java:226) I/zygote64: at void java.lang.Thread.run() (Thread.java:764) I/zygote64: Caused by: java.lang.ClassNotFoundException: Didn't find class "android.webkit.PacProcessor" on path: DexPathList[[zip file "/data/app/com.android.chrome-cgS0b8ZPBSTF9XLNM1uYhQ==/base.apk"],nativeLibraryDirectories=[/data/app/com.android.chrome-cgS0b8ZPBSTF9XLNM1uYhQ==/lib/arm64, /data/app/com.android.chrome-cgS0b8ZPBSTF9XLNM1uYhQ==/base.apk!/lib/arm64-v8a, /system/lib64, /vendor/lib64]] I/zygote64: at java.lang.Class dalvik.system.BaseDexClassLoader.findClass(java.lang.String) (BaseDexClassLoader.java:125) I/zygote64: at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean) (ClassLoader.java:379) I/zygote64: at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String) (ClassLoader.java:312) I/zygote64: at java.lang.Class java.lang.Class.classForName(java.lang.String, boolean, java.lang.ClassLoader) (Class.java:-2) I/zygote64: at java.lang.Class java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) (Class.java:453) I/zygote64: at java.lang.Class android.webkit.WebViewFactory.getWebViewProviderClass(java.lang.ClassLoader) (WebViewFactory.java:128) I/zygote64: at java.lang.Class android.webkit.WebViewFactory.getProviderClass() (WebViewFactory.java:402) I/zygote64: at android.webkit.WebViewFactoryProvider android.webkit.WebViewFactory.getProvider() (WebViewFactory.java:194) I/zygote64: at android.webkit.CookieManager android.webkit.CookieManager.getInstance() (CookieManager.java:39) I/zygote64: at android.webkit.CookieManager com.facebook.react.modules.network.ForwardingCookieHandler.getCookieManager() (ForwardingCookieHandler.java:180) I/zygote64: at java.util.Map com.facebook.react.modules.network.ForwardingCookieHandler.get(java.net.URI, java.util.Map) (ForwardingCookieHandler.java:58) I/zygote64: at java.lang.String com.facebook.react.modules.websocket.WebSocketModule.getCookie(java.lang.String) (WebSocketModule.java:392) I/zygote64: at void com.facebook.react.modules.websocket.WebSocketModule.connect(java.lang.String, com.facebook.react.bridge.ReadableArray, com.facebook.react.bridge.ReadableMap, double) (WebSocketModule.java:100) I/zygote64: at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2) I/zygote64: at void com.facebook.react.bridge.JavaMethodWrapper.invoke(com.facebook.react.bridge.JSInstance, com.facebook.react.bridge.ReadableArray) (JavaMethodWrapper.java:372) I/zygote64: at void com.facebook.react.bridge.JavaModuleWrapper.invoke(int, com.facebook.react.bridge.ReadableNativeArray) (JavaModuleWrapper.java:151) I/zygote64: at void com.facebook.react.bridge.queue.NativeRunnable.run() (NativeRunnable.java:-2) I/zygote64: at void android.os.Handler.handleCallback(android.os.Message) (Handler.java:790) I/zygote64: at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:99) I/zygote64: at void com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(android.os.Message) (MessageQueueThreadHandler.java:27) I/zygote64: at void android.os.Looper.loop() (Looper.java:164) I/zygote64: at void com.facebook.react.bridge.queue.MessageQueueThreadImpl$4.run() (MessageQueueThreadImpl.java:226) I/zygote64: at void java.lang.Thread.run() (Thread.java:764) I/zygote64: I/zygote64: Rejecting re-init on previously-failed class java.lang.Class<lx2>: java.lang.NoClassDefFoundError: Failed resolution of: Landroid/webkit/PacProcessor; I/zygote64: at java.lang.Class java.lang.Class.classForName(java.lang.String, boolean, java.lang.ClassLoader) (Class.java:-2) I/zygote64: at java.lang.Class java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) (Class.java:453) I/zygote64: at java.lang.Class android.webkit.WebViewFactory.getWebViewProviderClass(java.lang.ClassLoader) (WebViewFactory.java:128) I/zygote64: at java.lang.Class android.webkit.WebViewFactory.getProviderClass() (WebViewFactory.java:402) I/zygote64: at android.webkit.WebViewFactoryProvider android.webkit.WebViewFactory.getProvider() (WebViewFactory.java:194) I/zygote64: at android.webkit.CookieManager android.webkit.CookieManager.getInstance() (CookieManager.java:39) I/zygote64: at android.webkit.CookieManager com.facebook.react.modules.network.ForwardingCookieHandler.getCookieManager() (ForwardingCookieHandler.java:180) I/zygote64: at java.util.Map com.facebook.react.modules.network.ForwardingCookieHandler.get(java.net.URI, java.util.Map) (ForwardingCookieHandler.java:58) I/zygote64: at java.lang.String com.facebook.react.modules.websocket.WebSocketModule.getCookie(java.lang.String) (WebSocketModule.java:392) I/zygote64: at void com.facebook.react.modules.websocket.WebSocketModule.connect(java.lang.String, com.facebook.react.bridge.ReadableArray, com.facebook.react.bridge.ReadableMap, double) (WebSocketModule.java:100) I/zygote64: at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2) I/zygote64: at void com.facebook.react.bridge.JavaMethodWrapper.invoke(com.facebook.react.bridge.JSInstance, com.facebook.react.bridge.ReadableArray) (JavaMethodWrapper.java:372) I/zygote64: at void com.facebook.react.bridge.JavaModuleWrapper.invoke(int, com.facebook.react.bridge.ReadableNativeArray) (JavaModuleWrapper.java:151) I/zygote64: at void com.facebook.react.bridge.queue.NativeRunnable.run() (NativeRunnable.java:-2) I/zygote64: at void android.os.Handler.handleCallback(android.os.Message) (Handler.java:790) I/zygote64: at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:99) I/zygote64: at void com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(android.os.Message) (MessageQueueThreadHandler.java:27) I/zygote64: at void android.os.Looper.loop() (Looper.java:164) I/zygote64: at void com.facebook.react.bridge.queue.MessageQueueThreadImpl$4.run() (MessageQueueThreadImpl.java:226) I/zygote64: at void java.lang.Thread.run() (Thread.java:764) I/zygote64: Caused by: java.lang.ClassNotFoundException: Didn't find class "android.webkit.PacProcessor" on path: DexPathList[[zip file "/data/app/com.android.chrome-cgS0b8ZPBSTF9XLNM1uYhQ==/base.apk"],nativeLibraryDirectories=[/data/app/com.android.chrome-cgS0b8ZPBSTF9XLNM1uYhQ==/lib/arm64, /data/app/com.android.chrome-cgS0b8ZPBSTF9XLNM1uYhQ==/base.apk!/lib/arm64-v8a, /system/lib64, /vendor/lib64]] I/zygote64: at java.lang.Class dalvik.system.BaseDexClassLoader.findClass(java.lang.String) (BaseDexClassLoader.java:125) I/zygote64: at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean) (ClassLoader.java:379) I/zygote64: at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String) (ClassLoader.java:312) I/zygote64: at java.lang.Class java.lang.Class.classForName(java.lang.String, boolean, java.lang.ClassLoader) (Class.java:-2) I/zygote64: at java.lang.Class java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) (Class.java:453) I/zygote64: at java.lang.Class android.webkit.WebViewFactory.getWebViewProviderClass(java.lang.ClassLoader) (WebViewFactory.java:128) I/zygote64: at java.lang.Class android.webkit.WebViewFactory.getProviderClass() (WebViewFactory.java:402) I/zygote64: at android.webkit.WebViewFactoryProvider android.webkit.WebViewFactory.getProvider() (WebViewFactory.java:194) I/zygote64: at android.webkit.CookieManager android.webkit.CookieManager.getInstance() (CookieManager.java:39) I/zygote64: at android.webkit.CookieManager com.facebook.react.modules.network.ForwardingCookieHandler.getCookieManager() (ForwardingCookieHandler.java:180) I/zygote64: at java.util.Map com.facebook.react.modules.network.ForwardingCookieHandler.get(java.net.URI, java.util.Map) (ForwardingCookieHandler.java:58) I/zygote64: at java.lang.String com.facebook.react.modules.websocket.WebSocketModule.getCookie(java.lang.String) (WebSocketModule.java:392) I/zygote64: at void com.facebook.react.modules.websocket.WebSocketModule.connect(java.lang.String, com.facebook.react.bridge.ReadableArray, com.facebook.react.bridge.ReadableMap, double) (WebSocketModule.java:100) I/zygote64: at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2) I/zygote64: at void com.facebook.react.bridge.JavaMethodWrapper.invoke(com.facebook.react.bridge.JSInstance, com.facebook.react.bridge.ReadableArray) (JavaMethodWrapper.java:372) I/zygote64: at void com.facebook.react.bridge.JavaModuleWrapper.invoke(int, com.facebook.react.bridge.ReadableNativeArray) (JavaModuleWrapper.java:151) I/zygote64: at void com.facebook.react.bridge.queue.NativeRunnable.run() (NativeRunnable.java:-2) I/zygote64: at void android.os.Handler.handleCallback(android.os.Message) (Handler.java:790) I/zygote64: at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:99) I/zygote64: at void com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(android.os.Message) (MessageQueueThreadHandler.java:27) I/zygote64: at void android.os.Looper.loop() (Looper.java:164) I/zygote64: at void com.facebook.react.bridge.queue.MessageQueueThreadImpl$4.run() (MessageQueueThreadImpl.java:226) I/zygote64: at void java.lang.Thread.run() (Thread.java:764) I/zygote64: I/zygote64: Rejecting re-init on previously-failed class java.lang.Class<lx2>: java.lang.NoClassDefFoundError: Failed resolution of: Landroid/webkit/PacProcessor; I/zygote64: at java.lang.Class java.lang.Class.classForName(java.lang.String, boolean, java.lang.ClassLoader) (Class.java:-2) I/zygote64: at java.lang.Class java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) (Class.java:453) I/zygote64: at java.lang.Class android.webkit.WebViewFactory.getWebViewProviderClass(java.lang.ClassLoader) (WebViewFactory.java:128) I/zygote64: at java.lang.Class android.webkit.WebViewFactory.getProviderClass() (WebViewFactory.java:402) I/zygote64: at android.webkit.WebViewFactoryProvider android.webkit.WebViewFactory.getProvider() (WebViewFactory.java:194) I/zygote64: at android.webkit.CookieManager android.webkit.CookieManager.getInstance() (CookieManager.java:39) I/zygote64: at android.webkit.CookieManager com.facebook.react.modules.network.ForwardingCookieHandler.getCookieManager() (ForwardingCookieHandler.java:180) I/zygote64: at java.util.Map com.facebook.react.modules.network.ForwardingCookieHandler.get(java.net.URI, java.util.Map) (ForwardingCookieHandler.java:58) I/zygote64: at java.lang.String com.facebook.react.modules.websocket.WebSocketModule.getCookie(java.lang.String) (WebSocketModule.java:392) I/zygote64: at void com.facebook.react.modules.websocket.WebSocketModule.connect(java.lang.String, com.facebook.react.bridge.ReadableArray, com.facebook.react.bridge.ReadableMap, double) (WebSocketModule.java:100) I/zygote64: at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2) I/zygote64: at void com.facebook.react.bridge.JavaMethodWrapper.invoke(com.facebook.react.bridge.JSInstance, com.facebook.react.bridge.ReadableArray) (JavaMethodWrapper.java:372) I/zygote64: at void com.facebook.react.bridge.JavaModuleWrapper.invoke(int, com.facebook.react.bridge.ReadableNativeArray) (JavaModuleWrapper.java:151) I/zygote64: at void com.facebook.react.bridge.queue.NativeRunnable.run() (NativeRunnable.java:-2) I/zygote64: at void android.os.Handler.handleCallback(android.os.Message) (Handler.java:790) I/zygote64: at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:99) I/zygote64: at void com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(android.os.Message) (MessageQueueThreadHandler.java:27) I/zygote64: at void android.os.Looper.loop() (Looper.java:164) I/zygote64: at void com.facebook.react.bridge.queue.MessageQueueThreadImpl$4.run() (MessageQueueThreadImpl.java:226) I/zygote64: at void java.lang.Thread.run() (Thread.java:764) I/zygote64: Caused by: java.lang.ClassNotFoundException: Didn't find class "android.webkit.PacProcessor" on path: DexPathList[[zip file "/data/app/com.android.chrome-cgS0b8ZPBSTF9XLNM1uYhQ==/base.apk"],nativeLibraryDirectories=[/data/app/com.android.chrome-cgS0b8ZPBSTF9XLNM1uYhQ==/lib/arm64, /data/app/com.android.chrome-cgS0b8ZPBSTF9XLNM1uYhQ==/base.apk!/lib/arm64-v8a, /system/lib64, /vendor/lib64]] I/zygote64: at java.lang.Class dalvik.system.BaseDexClassLoader.findClass(java.lang.String) (BaseDexClassLoader.java:125) I/zygote64: at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean) (ClassLoader.java:379) I/zygote64: at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String) (ClassLoader.java:312) I/zygote64: at java.lang.Class java.lang.Class.classForName(java.lang.String, boolean, java.lang.ClassLoader) (Class.java:-2) I/zygote64: at java.lang.Class java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) (Class.java:453) I/zygote64: at java.lang.Class android.webkit.WebViewFactory.getWebViewProviderClass(java.lang.ClassLoader) (WebViewFactory.java:128) I/zygote64: at java.lang.Class android.webkit.WebViewFactory.getProviderClass() (WebViewFactory.java:402) I/zygote64: at android.webkit.WebViewFactoryProvider android.webkit.WebViewFactory.getProvider() (WebViewFactory.java:194) I/zygote64: at android.webkit.CookieManager android.webkit.CookieManager.getInstance() (CookieManager.java:39) I/zygote64: at android.webkit.CookieManager com.facebook.react.modules.network.ForwardingCookieHandler.getCookieManager() (ForwardingCookieHandler.java:180) I/zygote64: at java.util.Map com.facebook.react.modules.network.ForwardingCookieHandler.get(java.net.URI, java.util.Map) (ForwardingCookieHandler.java:58) I/zygote64: at java.lang.String com.facebook.react.modules.websocket.WebSocketModule.getCookie(java.lang.String) (WebSocketModule.java:392) I/zygote64: at void com.facebook.react.modules.websocket.WebSocketModule.connect(java.lang.String, com.facebook.react.bridge.ReadableArray, com.facebook.react.bridge.ReadableMap, double) (WebSocketModule.java:100) I/zygote64: at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2) I/zygote64: at void com.facebook.react.bridge.JavaMethodWrapper.invoke(com.facebook.react.bridge.JSInstance, com.facebook.react.bridge.ReadableArray) (JavaMethodWrapper.java:372) I/zygote64: at void com.facebook.react.bridge.JavaModuleWrapper.invoke(int, com.facebook.react.bridge.ReadableNativeArray) (JavaModuleWrapper.java:151) I/zygote64: at void com.facebook.react.bridge.queue.NativeRunnable.run() (NativeRunnable.java:-2) I/zygote64: at void android.os.Handler.handleCallback(android.os.Message) (Handler.java:790) I/zygote64: at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:99) I/zygote64: at void com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(android.os.Message) (MessageQueueThreadHandler.java:27) I/zygote64: at void android.os.Looper.loop() (Looper.java:164) I/zygote64: at void com.facebook.react.bridge.queue.MessageQueueThreadImpl$4.run() (MessageQueueThreadImpl.java:226) I/zygote64: at void java.lang.Thread.run() (Thread.java:764) I/zygote64: I/zygote64: Rejecting re-init on previously-failed class java.lang.Class<lx2>: java.lang.NoClassDefFoundError: Failed resolution of: Landroid/webkit/PacProcessor; I/zygote64: at java.lang.Class java.lang.Class.classForName(java.lang.String, boolean, java.lang.ClassLoader) (Class.java:-2) I/zygote64: at java.lang.Class java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) (Class.java:453) I/zygote64: at java.lang.Class android.webkit.WebViewFactory.getWebViewProviderClass(java.lang.ClassLoader) (WebViewFactory.java:128) I/zygote64: at java.lang.Class android.webkit.WebViewFactory.getProviderClass() (WebViewFactory.java:402) I/zygote64: at android.webkit.WebViewFactoryProvider android.webkit.WebViewFactory.getProvider() (WebViewFactory.java:194) I/zygote64: at android.webkit.CookieManager android.webkit.CookieManager.getInstance() (CookieManager.java:39) I/zygote64: at android.webkit.CookieManager com.facebook.react.modules.network.ForwardingCookieHandler.getCookieManager() (ForwardingCookieHandler.java:180) I/zygote64: at java.util.Map com.facebook.react.modules.network.ForwardingCookieHandler.get(java.net.URI, java.util.Map) (ForwardingCookieHandler.java:58) I/zygote64: at java.lang.String com.facebook.react.modules.websocket.WebSocketModule.getCookie(java.lang.String) (WebSocketModule.java:392) I/zygote64: at void com.facebook.react.modules.websocket.WebSocketModule.connect(java.lang.String, com.facebook.react.bridge.ReadableArray, com.facebook.react.bridge.ReadableMap, double) (WebSocketModule.java:100) I/zygote64: at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2) I/zygote64: at void com.facebook.react.bridge.JavaMethodWrapper.invoke(com.facebook.react.bridge.JSInstance, com.facebook.react.bridge.ReadableArray) (JavaMethodWrapper.java:372) I/zygote64: at void com.facebook.react.bridge.JavaModuleWrapper.invoke(int, com.facebook.react.bridge.ReadableNativeArray) (JavaModuleWrapper.java:151) I/zygote64: at void com.facebook.react.bridge.queue.NativeRunnable.run() (NativeRunnable.java:-2) I/zygote64: at void android.os.Handler.handleCallback(android.os.Message) (Handler.java:790) I/zygote64: at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:99) I/zygote64: at void com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(android.os.Message) (MessageQueueThreadHandler.java:27) I/zygote64: at void android.os.Looper.loop() (Looper.java:164) I/zygote64: at void com.facebook.react.bridge.queue.MessageQueueThreadImpl$4.run() (MessageQueueThreadImpl.java:226) I/zygote64: at void java.lang.Thread.run() (Thread.java:764) I/zygote64: Caused by: java.lang.ClassNotFoundException: Didn't find class "android.webkit.PacProcessor" on path: DexPathList[[zip file "/data/app/com.android.chrome-cgS0b8ZPBSTF9XLNM1uYhQ==/base.apk"],nativeLibraryDirectories=[/data/app/com.android.chrome-cgS0b8ZPBSTF9XLNM1uYhQ==/lib/arm64, /data/app/com.android.chrome-cgS0b8ZPBSTF9XLNM1uYhQ==/base.apk!/lib/arm64-v8a, /system/lib64, /vendor/lib64]] I/zygote64: at java.lang.Class dalvik.system.BaseDexClassLoader.findClass(java.lang.String) (BaseDexClassLoader.java:125) I/zygote64: at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean) (ClassLoader.java:379) I/zygote64: at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String) (ClassLoader.java:312) I/zygote64: at java.lang.Class java.lang.Class.classForName(java.lang.String, boolean, java.lang.ClassLoader) (Class.java:-2) I/zygote64: at java.lang.Class java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) (Class.java:453) I/zygote64: at java.lang.Class android.webkit.WebViewFactory.getWebViewProviderClass(java.lang.ClassLoader) (WebViewFactory.java:128) I/zygote64: at java.lang.Class android.webkit.WebViewFactory.getProviderClass() (WebViewFactory.java:402) I/zygote64: at android.webkit.WebViewFactoryProvider android.webkit.WebViewFactory.getProvider() (WebViewFactory.java:194) I/zygote64: at android.webkit.CookieManager android.webkit.CookieManager.getInstance() (CookieManager.java:39) I/zygote64: at android.webkit.CookieManager com.facebook.react.modules.network.ForwardingCookieHandler.getCookieManager() (ForwardingCookieHandler.java:180) I/zygote64: at java.util.Map com.facebook.react.modules.network.ForwardingCookieHandler.get(java.net.URI, java.util.Map) (ForwardingCookieHandler.java:58) I/zygote64: at java.lang.String com.facebook.react.modules.websocket.WebSocketModule.getCookie(java.lang.String) (WebSocketModule.java:392) I/zygote64: at void com.facebook.react.modules.websocket.WebSocketModule.connect(java.lang.String, com.facebook.react.bridge.ReadableArray, com.facebook.react.bridge.ReadableMap, double) (WebSocketModule.java:100) I/zygote64: at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2) I/zygote64: at void com.facebook.react.bridge.JavaMethodWrapper.invoke(com.facebook.react.bridge.JSInstance, com.facebook.react.bridge.ReadableArray) (JavaMethodWrapper.java:372) I/zygote64: at void com.facebook.react.bridge.JavaModuleWrapper.invoke(int, com.facebook.react.bridge.ReadableNativeArray) (JavaModuleWrapper.java:151) I/zygote64: at void com.facebook.react.bridge.queue.NativeRunnable.run() (NativeRunnable.java:-2) I/zygote64: at void android.os.Handler.handleCallback(android.os.Message) (Handler.java:790) I/zygote64: at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:99) I/zygote64: at void com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(android.os.Message) (MessageQueueThreadHandler.java:27) I/zygote64: at void android.os.Looper.loop() (Looper.java:164) I/zygote64: at void com.facebook.react.bridge.queue.MessageQueueThreadImpl$4.run() (MessageQueueThreadImpl.java:226) I/zygote64: at void java.lang.Thread.run() (Thread.java:764) I/zygote64: I/zygote64: Rejecting re-init on previously-failed class java.lang.Class<lx2>: java.lang.NoClassDefFoundError: Failed resolution of: Landroid/webkit/PacProcessor; I/zygote64: at java.lang.Class java.lang.Class.classForName(java.lang.String, boolean, java.lang.ClassLoader) (Class.java:-2) I/zygote64: at java.lang.Class java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) (Class.java:453) I/zygote64: at java.lang.Class android.webkit.WebViewFactory.getWebViewProviderClass(java.lang.ClassLoader) (WebViewFactory.java:128) I/zygote64: at java.lang.Class android.webkit.WebViewFactory.getProviderClass() (WebViewFactory.java:402) I/zygote64: at android.webkit.WebViewFactoryProvider android.webkit.WebViewFactory.getProvider() (WebViewFactory.java:194) I/zygote64: at android.webkit.CookieManager android.webkit.CookieManager.getInstance() (CookieManager.java:39) I/zygote64: at android.webkit.CookieManager com.facebook.react.modules.network.ForwardingCookieHandler.getCookieManager() (ForwardingCookieHandler.java:180) I/zygote64: at java.util.Map com.facebook.react.modules.network.ForwardingCookieHandler.get(java.net.URI, java.util.Map) (ForwardingCookieHandler.java:58) I/zygote64: at java.lang.String com.facebook.react.modules.websocket.WebSocketModule.getCookie(java.lang.String) (WebSocketModule.java:392) I/zygote64: at void com.facebook.react.modules.websocket.WebSocketModule.connect(java.lang.String, com.facebook.react.bridge.ReadableArray, com.facebook.react.bridge.ReadableMap, double) (WebSocketModule.java:100) I/zygote64: at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2) I/zygote64: at void com.facebook.react.bridge.JavaMethodWrapper.invoke(com.facebook.react.bridge.JSInstance, com.facebook.react.bridge.ReadableArray) (JavaMethodWrapper.java:372) I/zygote64: at void com.facebook.react.bridge.JavaModuleWrapper.invoke(int, com.facebook.react.bridge.ReadableNativeArray) (JavaModuleWrapper.java:151) I/zygote64: at void com.facebook.react.bridge.queue.NativeRunnable.run() (NativeRunnable.java:-2) I/zygote64: at void android.os.Handler.handleCallback(android.os.Message) (Handler.java:790) I/zygote64: at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:99) I/zygote64: at void com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(android.os.Message) (MessageQueueThreadHandler.java:27) I/zygote64: at void android.os.Looper.loop() (Looper.java:164) I/zygote64: at void com.facebook.react.bridge.queue.MessageQueueThreadImpl$4.run() (MessageQueueThreadImpl.java:226) I/zygote64: at void java.lang.Thread.run() (Thread.java:764) I/zygote64: Caused by: java.lang.ClassNotFoundException: Didn't find class "android.webkit.PacProcessor" on path: DexPathList[[zip file "/data/app/com.android.chrome-cgS0b8ZPBSTF9XLNM1uYhQ==/base.apk"],nativeLibraryDirectories=[/data/app/com.android.chrome-cgS0b8ZPBSTF9XLNM1uYhQ==/lib/arm64, /data/app/com.android.chrome-cgS0b8ZPBSTF9XLNM1uYhQ==/base.apk!/lib/arm64-v8a, /system/lib64, /vendor/lib64]] I/zygote64: at java.lang.Class dalvik.system.BaseDexClassLoader.findClass(java.lang.String) (BaseDexClassLoader.java:125) I/zygote64: at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean) (ClassLoader.java:379) I/zygote64: at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String) (ClassLoader.java:312) I/zygote64: at java.lang.Class java.lang.Class.classForName(java.lang.String, boolean, java.lang.ClassLoader) (Class.java:-2) I/zygote64: at java.lang.Class java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) (Class.java:453) I/zygote64: at java.lang.Class android.webkit.WebViewFactory.getWebViewProviderClass(java.lang.ClassLoader) (WebViewFactory.java:128) I/zygote64: at java.lang.Class android.webkit.WebViewFactory.getProviderClass() (WebViewFactory.java:402) I/zygote64: at android.webkit.WebViewFactoryProvider android.webkit.WebViewFactory.getProvider() (WebViewFactory.java:194) I/zygote64: at android.webkit.CookieManager android.webkit.CookieManager.getInstance() (CookieManager.java:39) I/zygote64: at android.webkit.CookieManager com.facebook.react.modules.network.ForwardingCookieHandler.getCookieManager() (ForwardingCookieHandler.java:180) I/zygote64: at java.util.Map com.facebook.react.modules.network.ForwardingCookieHandler.get(java.net.URI, java.util.Map) (ForwardingCookieHandler.java:58) I/zygote64: at java.lang.String com.facebook.react.modules.websocket.WebSocketModule.getCookie(java.lang.String) (WebSocketModule.java:392) I/zygote64: at void com.facebook.react.modules.websocket.WebSocketModule.connect(java.lang.String, com.facebook.react.bridge.ReadableArray, com.facebook.react.bridge.ReadableMap, double) (WebSocketModule.java:100) I/zygote64: at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2) I/zygote64: at void com.facebook.react.bridge.JavaMethodWrapper.invoke(com.facebook.react.bridge.JSInstance, com.facebook.react.bridge.ReadableArray) (JavaMethodWrapper.java:372) I/zygote64: at void com.facebook.react.bridge.JavaModuleWrapper.invoke(int, com.facebook.react.bridge.ReadableNativeArray) (JavaModuleWrapper.java:151) I/zygote64: at void com.facebook.react.bridge.queue.NativeRunnable.run() (NativeRunnable.java:-2) I/zygote64: at void android.os.Handler.handleCallback(android.os.Message) (Handler.java:790) I/zygote64: at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:99) I/zygote64: at void com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(android.os.Message) (MessageQueueThreadHandler.java:27) I/zygote64: at void android.os.Looper.loop() (Looper.java:164) I/zygote64: at void com.facebook.react.bridge.queue.MessageQueueThreadImpl$4.run() (MessageQueueThreadImpl.java:226) I/zygote64: at void java.lang.Thread.run() (Thread.java:764) I/zygote64: I/cr_WVCFactoryProvider: Loaded version=104.0.5112.97 minSdkVersion=24 isBundle=true multiprocess=true packageId=2 ...
Issue Analytics
- State:
- Created a year ago
- Reactions:3
- Comments:5 (1 by maintainers)
Top GitHub Comments
I’m getting an error like this, too.
After upgrade the target sdk version to 31, the same error occurs on devices with low os version and the app is terminated abnormally. trace is almost the same.
Is there anyone who helps?
still an issue
“11.23.0”,