You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "richardliebmann (via GitHub)" <gi...@apache.org> on 2026/05/19 05:40:27 UTC
[I] Android 7 app white screen: java.lang.NoClassDefFoundError: Failed resolution of: Landroid/webkit/PacProcessor [cordova-android]
richardliebmann opened a new issue, #1929:
URL: https://github.com/apache/cordova-android/issues/1929
# Bug Report
## Problem
### What is expected to happen?
We got a Class Not Found Exception on android 7 with Chrome 106. On higher Android versions the problem does not occur. With Cordova-android 14 the app starts without problems.
### What does actually happen?
The app does start but present a white screen
## Information
<!-- Include all relevant information that might help understand and reproduce the problem -->
```
Checking for metadata for AppLocalesMetadataHolderService : Service not found
Style contains key with bad entry: 0x0101069a
Changing log level to DEBUG(3)
Apache Cordova native platform version 14.0.1 is starting
CordovaActivity.onCreate()
Before Android 4.1, method android.graphics.PorterDuffColorFilter androidx.vectordrawable.graphics.drawable.VectorDrawableCompat.updateTintFilter(android.graphics.PorterDuffColorFilter, android.content.res.ColorStateList, android.graphics.PorterDuff$Mode) would have incorrectly overridden the package-private method in android.graphics.drawable.Drawable
ignored Vulkan layer search path /data/app/com.google.android.webview-1/lib/arm64:/data/app/com.google.android.webview-1/base.apk!/lib/arm64-v8a for namespace 0x7f7dcbd0f0
Loading com.google.android.webview version 106.0.5249.126 (code 524912603)
/data/app/com.google.android.webview-1/lib/arm64/libwebviewchromium.so: unused DT entry: type 0x70000001 arg 0x0
Rejecting re-init on previously-failed class java.lang.Class<k50>: java.lang.NoClassDefFoundError: Failed resolution of: Landroid/webkit/PacProcessor;
at java.lang.Class java.lang.Class.classForName!(java.lang.String, boolean, java.lang.ClassLoader) (Class.java:-2)
at java.lang.Class java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) (Class.java:400)
at java.lang.Class android.webkit.WebViewFactory.getProviderClass() (WebViewFactory.java:349)
at android.webkit.WebViewFactoryProvider android.webkit.WebViewFactory.getProvider() (WebViewFactory.java:194)
at android.webkit.WebViewFactoryProvider android.webkit.WebView.getFactory() (WebView.java:2325)
at void android.webkit.WebView.ensureProviderCreated() (WebView.java:2320)
at void android.webkit.WebView.setOverScrollMode(int) (WebView.java:2379)
at void android.view.View.<init>(android.content.Context) (View.java:4042)
at void android.view.View.<init>(android.content.Context, android.util.AttributeSet, int, int) (View.java:4165)
at void android.view.ViewGroup.<init>(android.content.Context, android.util.AttributeSet, int, int) (ViewGroup.java:579)
at void android.widget.AbsoluteLayout.<init>(android.content.Context, android.util.AttributeSet, int, int) (AbsoluteLayout.java:55)
at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int, int, java.util.Map, boolean) (WebView.java:627)
at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int, int) (WebView.java:572)
at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int) (WebView.java:555)
at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet) (WebView.java:542)
at void org.apache.cordova.engine.SystemWebView.<init>(android.content.Context, android.util.AttributeSet) (SystemWebView.java:47)
at void org.apache.cordova.engine.SystemWebView.<init>(android.content.Context) (SystemWebView.java:43)
at void com.ionicframework.cordova.webview.IonicWebViewEngine.<init>(android.content.Context, org.apache.cordova.CordovaPreferences) (IonicWebViewEngine.java:42)
at java.lang.Object java.lang.reflect.Constructor.newInstance0!(java.lang.Object[]) (Constructor.java:-2)
at java.lang.Object java.lang.reflect.Constructor.newInstance(java.lang.Object[]) (Constructor.java:430)
at org.apache.cordova.CordovaWebViewEngine org.apache.cordova.CordovaWebViewImpl.createEngine(android.content.Context, org.apache.cordova.CordovaPreferences) (CordovaWebViewImpl.java:82)
at org.apache.cordova.CordovaWebViewEngine org.apache.cordova.CordovaActivity.makeWebViewEngine() (CordovaActivity.java:215)
at org.apache.cordova.CordovaWebView org.apache.cordova.CordovaActivity.makeWebView() (CordovaActivity.java:211)
at void org.apache.cordova.CordovaActivity.init() (CordovaActivity.java:152)
at void org.apache.cordova.CordovaActivity.loadUrl(java.lang.String) (CordovaActivity.java:233)
at void at.asello.registrierkasse.MainActivity.onCreate(android.os.Bundle) (MainActivity.java:40)
at void android.app.Activity.performCreate(android.os.Bundle) (Activity.java:6736)
at void android.app.Instrumentation.callActivityOnCreate(android.app.Activity, android.os.Bundle) (Instrumentation.java:1119)
at android.app.Activity android.app.ActivityThread.performLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent) (ActivityThread.java:2648)
at void android.app.ActivityThread.handleLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:2756)
at void android.app.ActivityThread.-wrap12(android.app.ActivityThread, android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:-1)
at void android.app.ActivityThread$H.handleMessage(android.os.Message) (ActivityThread.java:1507)
at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:102)
at void android.os.Looper.loop() (Looper.java:154)
at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6149)
at java.lang.Object java.lang.reflect.Method.invoke!(java.lang.Object, java.lang.Object[]) (Method.java:-2)
at void com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run() (ZygoteInit.java:886)
at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:776)
Caused by: java.lang.ClassNotFoundException: Didn't find class "android.webkit.PacProcessor" on path: DexPathList[[zip file "/data/app/com.google.android.webview-1/base.apk"],nativeLibraryDirectories=[/data/app/com.google.android.webview-1/lib/arm64, /data/app/com.google.android.webview-1/base.apk!/lib/arm64-v8a, /system/lib64, /vendor/lib64]]
at java.lang.Class dalvik.system.BaseDexClassLoader.findClass(java.lang.String) (BaseDexClassLoader.java:56)
at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean) (ClassLoader.java:380)
at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String) (ClassLoader.java:312)
at java.lang.Class java.lang.Class.classForName!(java.lang.String, boolean, java.lang.ClassLoader) (Class.java:-2)
at java.lang.Class java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) (Class.java:400)
at java.lang.Class android.webkit.WebViewFactory.getProviderClass() (WebViewFactory.java:349)
at android.webkit.WebViewFactoryProvider android.webkit.WebViewFactory.getProvider() (WebViewFactory.java:194)
at android.webkit.WebViewFactoryProvider android.webkit.WebView.getFactory() (WebView.java:2325)
at void android.webkit.WebView.ensureProviderCreated() (WebView.java:2320)
at void android.webkit.WebView.setOverScrollMode(int) (WebView.java:2379)
at void android.view.View.<init>(android.content.Context) (View.java:4042)
at void android.view.View.<init>(android.content.Context, android.util.AttributeSet, int, int) (View.java:4165)
at void android.view.ViewGroup.<init>(android.content.Context, android.util.AttributeSet, int, int) (ViewGroup.java:579)
at void android.widget.AbsoluteLayout.<init>(android.content.Context, android.util.AttributeSet, int, int) (AbsoluteLayout.java:55)
at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int, int, java.util.Map, boolean) (WebView.java:627)
at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int, int) (WebView.java:572)
at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int) (WebView.java:555)
at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet) (WebView.java:542)
at void org.apache.cordova.engine.SystemWebView.<init>(android.content.Context, android.util.AttributeSet) (SystemWebView.java:47)
at void org.apache.cordova.engine.SystemWebView.<init>(android.content.Context) (SystemWebView.java:43)
at void com.ionicframework.cordova.webview.IonicWebViewEngine.<init>(android.content.Context, org.apache.cordova.CordovaPreferences) (IonicWebViewEngine.java:42)
at java.lang.Object java.lang.reflect.Constructor.newInstance0!(java.lang.Object[]) (Constructor.java:-2)
at java.lang.Object java.lang.reflect.Constructor.newInstance(java.lang.Object[]) (Constructor.java:430)
at org.apache.cordova.CordovaWebViewEngine org.apache.cordova.CordovaWebViewImpl.createEngine(android.content.Context, org.apache.cordova.CordovaPreferences) (CordovaWebViewImpl.java:82)
at org.apache.cordova.CordovaWebViewEngine org.apache.cordova.CordovaActivity.makeWebViewEngine() (CordovaActivity.java:215)
at org.apache.cordova.CordovaWebView org.apache.cordova.CordovaActivity.makeWebView() (CordovaActivity.java:211)
at void org.apache.cordova.CordovaActivity.init() (CordovaActivity.java:152)
at void org.apache.cordova.CordovaActivity.loadUrl(java.lang.String) (CordovaActivity.java:233)
at void at.asello.registrierkasse.MainActivity.onCreate(android.os.Bundle) (MainActivity.java:40)
at void android.app.Activity.performCreate(android.os.Bundle) (Activity.java:6736)
at void android.app.Instrumentation.callActivityOnCreate(android.app.Activity, android.os.Bundle) (Instrumentation.java:1119)
at android.app.Activity android.app.ActivityThread.performLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent) (ActivityThread.java:2648)
at void android.app.ActivityThread.handleLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:2756)
at void android.app.ActivityThread.-wrap12(android.app.ActivityThread, android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:-1)
at void android.app.ActivityThread$H.handleMessage(android.os.Message) (ActivityThread.java:1507)
at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:102)
at void android.os.Looper.loop() (Looper.java:154)
at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6149)
at java.lang.Object java.lang.reflect.Method.invoke!(java.lang.Object, java.lang.Object[]) (Method.java:-2)
at void com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run() (ZygoteInit.java:886)
at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:776)
Rejecting re-init on previously-failed class java.lang.Class<k50>: java.lang.NoClassDefFoundError: Failed resolution of: Landroid/webkit/PacProcessor;
at java.lang.Class java.lang.Class.classForName!(java.lang.String, boolean, java.lang.ClassLoader) (Class.java:-2)
at java.lang.Class java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) (Class.java:400)
at java.lang.Class android.webkit.WebViewFactory.getProviderClass() (WebViewFactory.java:349)
at android.webkit.WebViewFactoryProvider android.webkit.WebViewFactory.getProvider() (WebViewFactory.java:194)
at android.webkit.WebViewFactoryProvider android.webkit.WebView.getFactory() (WebView.java:2325)
at void android.webkit.WebView.ensureProviderCreated() (WebView.java:2320)
at void android.webkit.WebView.setOverScrollMode(int) (WebView.java:2379)
at void android.view.View.<init>(android.content.Context) (View.java:4042)
at void android.view.View.<init>(android.content.Context, android.util.AttributeSet, int, int) (View.java:4165)
at void android.view.ViewGroup.<init>(android.content.Context, android.util.AttributeSet, int, int) (ViewGroup.java:579)
at void android.widget.AbsoluteLayout.<init>(android.content.Context, android.util.AttributeSet, int, int) (AbsoluteLayout.java:55)
at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int, int, java.util.Map, boolean) (WebView.java:627)
at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int, int) (WebView.java:572)
at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int) (WebView.java:555)
at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet) (WebView.java:542)
at void org.apache.cordova.engine.SystemWebView.<init>(android.content.Context, android.util.AttributeSet) (SystemWebView.java:47)
at void org.apache.cordova.engine.SystemWebView.<init>(android.content.Context) (SystemWebView.java:43)
at void com.ionicframework.cordova.webview.IonicWebViewEngine.<init>(android.content.Context, org.apache.cordova.CordovaPreferences) (IonicWebViewEngine.java:42)
at java.lang.Object java.lang.reflect.Constructor.newInstance0!(java.lang.Object[]) (Constructor.java:-2)
at java.lang.Object java.lang.reflect.Constructor.newInstance(java.lang.Object[]) (Constructor.java:430)
at org.apache.cordova.CordovaWebViewEngine org.apache.cordova.CordovaWebViewImpl.createEngine(android.content.Context, org.apache.cordova.CordovaPreferences) (CordovaWebViewImpl.java:82)
at org.apache.cordova.CordovaWebViewEngine org.apache.cordova.CordovaActivity.makeWebViewEngine() (CordovaActivity.java:215)
at org.apache.cordova.CordovaWebView org.apache.cordova.CordovaActivity.makeWebView() (CordovaActivity.java:211)
at void org.apache.cordova.CordovaActivity.init() (CordovaActivity.java:152)
at void org.apache.cordova.CordovaActivity.loadUrl(java.lang.String) (CordovaActivity.java:233)
at void at.asello.registrierkasse.MainActivity.onCreate(android.os.Bundle) (MainActivity.java:40)
at void android.app.Activity.performCreate(android.os.Bundle) (Activity.java:6736)
at void android.app.Instrumentation.callActivityOnCreate(android.app.Activity, android.os.Bundle) (Instrumentation.java:1119)
at android.app.Activity android.app.ActivityThread.performLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent) (ActivityThread.java:2648)
at void android.app.ActivityThread.handleLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:2756)
at void android.app.ActivityThread.-wrap12(android.app.ActivityThread, android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:-1)
at void android.app.ActivityThread$H.handleMessage(android.os.Message) (ActivityThread.java:1507)
at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:102)
at void android.os.Looper.loop() (Looper.java:154)
at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6149)
at java.lang.Object java.lang.reflect.Method.invoke!(java.lang.Object, java.lang.Object[]) (Method.java:-2)
at void com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run() (ZygoteInit.java:886)
at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:776)
Caused by: java.lang.ClassNotFoundException: Didn't find class "android.webkit.PacProcessor" on path: DexPathList[[zip file "/data/app/com.google.android.webview-1/base.apk"],nativeLibraryDirectories=[/data/app/com.google.android.webview-1/lib/arm64, /data/app/com.google.android.webview-1/base.apk!/lib/arm64-v8a, /system/lib64, /vendor/lib64]]
at java.lang.Class dalvik.system.BaseDexClassLoader.findClass(java.lang.String) (BaseDexClassLoader.java:56)
at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean) (ClassLoader.java:380)
at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String) (ClassLoader.java:312)
at java.lang.Class java.lang.Class.classForName!(java.lang.String, boolean, java.lang.ClassLoader) (Class.java:-2)
at java.lang.Class java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) (Class.java:400)
at java.lang.Class android.webkit.WebViewFactory.getProviderClass() (WebViewFactory.java:349)
at android.webkit.WebViewFactoryProvider android.webkit.WebViewFactory.getProvider() (WebViewFactory.java:194)
at android.webkit.WebViewFactoryProvider android.webkit.WebView.getFactory() (WebView.java:2325)
at void android.webkit.WebView.ensureProviderCreated() (WebView.java:2320)
at void android.webkit.WebView.setOverScrollMode(int) (WebView.java:2379)
at void android.view.View.<init>(android.content.Context) (View.java:4042)
at void android.view.View.<init>(android.content.Context, android.util.AttributeSet, int, int) (View.java:4165)
at void android.view.ViewGroup.<init>(android.content.Context, android.util.AttributeSet, int, int) (ViewGroup.java:579)
at void android.widget.AbsoluteLayout.<init>(android.content.Context, android.util.AttributeSet, int, int) (AbsoluteLayout.java:55)
at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int, int, java.util.Map, boolean) (WebView.java:627)
at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int, int) (WebView.java:572)
at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int) (WebView.java:555)
at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet) (WebView.java:542)
at void org.apache.cordova.engine.SystemWebView.<init>(android.content.Context, android.util.AttributeSet) (SystemWebView.java:47)
at void org.apache.cordova.engine.SystemWebView.<init>(android.content.Context) (SystemWebView.java:43)
at void com.ionicframework.cordova.webview.IonicWebViewEngine.<init>(android.content.Context, org.apache.cordova.CordovaPreferences) (IonicWebViewEngine.java:42)
at java.lang.Object java.lang.reflect.Constructor.newInstance0!(java.lang.Object[]) (Constructor.java:-2)
at java.lang.Object java.lang.reflect.Constructor.newInstance(java.lang.Object[]) (Constructor.java:430)
at org.apache.cordova.CordovaWebViewEngine org.apache.cordova.CordovaWebViewImpl.createEngine(android.content.Context, org.apache.cordova.CordovaPreferences) (CordovaWebViewImpl.java:82)
at org.apache.cordova.CordovaWebViewEngine org.apache.cordova.CordovaActivity.makeWebViewEngine() (CordovaActivity.java:215)
at org.apache.cordova.CordovaWebView org.apache.cordova.CordovaActivity.makeWebView() (CordovaActivity.java:211)
at void org.apache.cordova.CordovaActivity.init() (CordovaActivity.java:152)
at void org.apache.cordova.CordovaActivity.loadUrl(java.lang.String) (CordovaActivity.java:233)
at void at.asello.registrierkasse.MainActivity.onCreate(android.os.Bundle) (MainActivity.java:40)
at void android.app.Activity.performCreate(android.os.Bundle) (Activity.java:6736)
at void android.app.Instrumentation.callActivityOnCreate(android.app.Activity, android.os.Bundle) (Instrumentation.java:1119)
at android.app.Activity android.app.ActivityThread.performLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent) (ActivityThread.java:2648)
at void android.app.ActivityThread.handleLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:2756)
at void android.app.ActivityThread.-wrap12(android.app.ActivityThread, android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:-1)
at void android.app.ActivityThread$H.handleMessage(android.os.Message) (ActivityThread.java:1507)
at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:102)
at void android.os.Looper.loop() (Looper.java:154)
at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6149)
at java.lang.Object java.lang.reflect.Method.invoke!(java.lang.Object, java.lang.Object[]) (Method.java:-2)
at void com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run() (ZygoteInit.java:886)
at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:776)
Rejecting re-init on previously-failed class java.lang.Class<k50>: java.lang.NoClassDefFoundError: Failed resolution of: Landroid/webkit/PacProcessor;
at java.lang.Class java.lang.Class.classForName!(java.lang.String, boolean, java.lang.ClassLoader) (Class.java:-2)
at java.lang.Class java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) (Class.java:400)
at java.lang.Class android.webkit.WebViewFactory.getProviderClass() (WebViewFactory.java:349)
at android.webkit.WebViewFactoryProvider android.webkit.WebViewFactory.getProvider() (WebViewFactory.java:194)
at android.webkit.WebViewFactoryProvider android.webkit.WebView.getFactory() (WebView.java:2325)
at void android.webkit.WebView.ensureProviderCreated() (WebView.java:2320)
at void android.webkit.WebView.setOverScrollMode(int) (WebView.java:2379)
at void android.view.View.<init>(android.content.Context) (View.java:4042)
at void android.view.View.<init>(android.content.Context, android.util.AttributeSet, int, int) (View.java:4165)
at void android.view.ViewGroup.<init>(android.content.Context, android.util.AttributeSet, int, int) (ViewGroup.java:579)
at void android.widget.AbsoluteLayout.<init>(android.content.Context, android.util.AttributeSet, int, int) (AbsoluteLayout.java:55)
at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int, int, java.util.Map, boolean) (WebView.java:627)
at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int, int) (WebView.java:572)
at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int) (WebView.java:555)
at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet) (WebView.java:542)
at void org.apache.cordova.engine.SystemWebView.<init>(android.content.Context, android.util.AttributeSet) (SystemWebView.java:47)
at void org.apache.cordova.engine.SystemWebView.<init>(android.content.Context) (SystemWebView.java:43)
at void com.ionicframework.cordova.webview.IonicWebViewEngine.<init>(android.content.Context, org.apache.cordova.CordovaPreferences) (IonicWebViewEngine.java:42)
at java.lang.Object java.lang.reflect.Constructor.newInstance0!(java.lang.Object[]) (Constructor.java:-2)
at java.lang.Object java.lang.reflect.Constructor.newInstance(java.lang.Object[]) (Constructor.java:430)
at org.apache.cordova.CordovaWebViewEngine org.apache.cordova.CordovaWebViewImpl.createEngine(android.content.Context, org.apache.cordova.CordovaPreferences) (CordovaWebViewImpl.java:82)
at org.apache.cordova.CordovaWebViewEngine org.apache.cordova.CordovaActivity.makeWebViewEngine() (CordovaActivity.java:215)
at org.apache.cordova.CordovaWebView org.apache.cordova.CordovaActivity.makeWebView() (CordovaActivity.java:211)
at void org.apache.cordova.CordovaActivity.init() (CordovaActivity.java:152)
at void org.apache.cordova.CordovaActivity.loadUrl(java.lang.String) (CordovaActivity.java:233)
at void at.asello.registrierkasse.MainActivity.onCreate(android.os.Bundle) (MainActivity.java:40)
at void android.app.Activity.performCreate(android.os.Bundle) (Activity.java:6736)
at void android.app.Instrumentation.callActivityOnCreate(android.app.Activity, android.os.Bundle) (Instrumentation.java:1119)
at android.app.Activity android.app.ActivityThread.performLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent) (ActivityThread.java:2648)
at void android.app.ActivityThread.handleLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:2756)
at void android.app.ActivityThread.-wrap12(android.app.ActivityThread, android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:-1)
at void android.app.ActivityThread$H.handleMessage(android.os.Message) (ActivityThread.java:1507)
at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:102)
at void android.os.Looper.loop() (Looper.java:154)
at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6149)
at java.lang.Object java.lang.reflect.Method.invoke!(java.lang.Object, java.lang.Object[]) (Method.java:-2)
at void com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run() (ZygoteInit.java:886)
at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:776)
Caused by: java.lang.ClassNotFoundException: Didn't find class "android.webkit.PacProcessor" on path: DexPathList[[zip file "/data/app/com.google.android.webview-1/base.apk"],nativeLibraryDirectories=[/data/app/com.google.android.webview-1/lib/arm64, /data/app/com.google.android.webview-1/base.apk!/lib/arm64-v8a, /system/lib64, /vendor/lib64]]
at java.lang.Class dalvik.system.BaseDexClassLoader.findClass(java.lang.String) (BaseDexClassLoader.java:56)
at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean) (ClassLoader.java:380)
at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String) (ClassLoader.java:312)
at java.lang.Class java.lang.Class.classForName!(java.lang.String, boolean, java.lang.ClassLoader) (Class.java:-2)
at java.lang.Class java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) (Class.java:400)
at java.lang.Class android.webkit.WebViewFactory.getProviderClass() (WebViewFactory.java:349)
at android.webkit.WebViewFactoryProvider android.webkit.WebViewFactory.getProvider() (WebViewFactory.java:194)
at android.webkit.WebViewFactoryProvider android.webkit.WebView.getFactory() (WebView.java:2325)
at void android.webkit.WebView.ensureProviderCreated() (WebView.java:2320)
at void android.webkit.WebView.setOverScrollMode(int) (WebView.java:2379)
at void android.view.View.<init>(android.content.Context) (View.java:4042)
at void android.view.View.<init>(android.content.Context, android.util.AttributeSet, int, int) (View.java:4165)
at void android.view.ViewGroup.<init>(android.content.Context, android.util.AttributeSet, int, int) (ViewGroup.java:579)
at void android.widget.AbsoluteLayout.<init>(android.content.Context, android.util.AttributeSet, int, int) (AbsoluteLayout.java:55)
at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int, int, java.util.Map, boolean) (WebView.java:627)
at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int, int) (WebView.java:572)
at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet, int) (WebView.java:555)
at void android.webkit.WebView.<init>(android.content.Context, android.util.AttributeSet) (WebView.java:542)
at void org.apache.cordova.engine.SystemWebView.<init>(android.content.Context, android.util.AttributeSet) (SystemWebView.java:47)
at void org.apache.cordova.engine.SystemWebView.<init>(android.content.Context) (SystemWebView.java:43)
at void com.ionicframework.cordova.webview.IonicWebViewEngine.<init>(android.content.Context, org.apache.cordova.CordovaPreferences) (IonicWebViewEngine.java:42)
at java.lang.Object java.lang.reflect.Constructor.newInstance0!(java.lang.Object[]) (Constructor.java:-2)
at java.lang.Object java.lang.reflect.Constructor.newInstance(java.lang.Object[]) (Constructor.java:430)
at org.apache.cordova.CordovaWebViewEngine org.apache.cordova.CordovaWebViewImpl.createEngine(android.content.Context, org.apache.cordova.CordovaPreferences) (CordovaWebViewImpl.java:82)
at org.apache.cordova.CordovaWebViewEngine org.apache.cordova.CordovaActivity.makeWebViewEngine() (CordovaActivity.java:215)
at org.apache.cordova.CordovaWebView org.apache.cordova.CordovaActivity.makeWebView() (CordovaActivity.java:211)
at void org.apache.cordova.CordovaActivity.init() (CordovaActivity.java:152)
at void org.apache.cordova.CordovaActivity.loadUrl(java.lang.String) (CordovaActivity.java:233)
at void at.asello.registrierkasse.MainActivity.onCreate(android.os.Bundle) (MainActivity.java:40)
at void android.app.Activity.performCreate(android.os.Bundle) (Activity.java:6736)
at void android.app.Instrumentation.callActivityOnCreate(android.app.Activity, android.os.Bundle) (Instrumentation.java:1119)
at android.app.Activity android.app.ActivityThread.performLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent) (ActivityThread.java:2648)
at void android.app.ActivityThread.handleLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:2756)
at void android.app.ActivityThread.-wrap12(android.app.ActivityThread, android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:-1)
at void android.app.ActivityThread$H.handleMessage(android.os.Message) (ActivityThread.java:1507)
at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:102)
at void android.os.Looper.loop() (Looper.java:154)
at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6149)
at java.lang.Object java.lang.reflect.Method.invoke!(java.lang.Object, java.lang.Object[]) (Method.java:-2)
at void com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run() (ZygoteInit.java:886)
at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:776)
```
### Command or Code
<!-- What command or code is needed to reproduce the problem? -->
Create a Cordova Android app and launch it on android 7 witch newer chrome 106 installed on the device.
### Environment, Platform, Device
<!-- In what environment, on what platform or on which device are you experiencing the issue? -->
android 7 device with chrome 106
### Version information
<!--
What are relevant versions you are using?
For example:
Cordova: Cordova CLI, Cordova Platforms, Cordova Plugins
Other Frameworks: Ionic Framework and CLI version
Operating System, Android Studio, Xcode etc.
-->
cordova-android 15
## Checklist
<!-- Please check the boxes by putting an x in the [ ] like so: [x] -->
- [x] I searched for existing GitHub issues
- [x] I updated all Cordova tooling to most recent version
- [x] I included all the necessary information above
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org
Re: [I] Android 7 app white screen: java.lang.NoClassDefFoundError: Failed resolution of: Landroid/webkit/PacProcessor [cordova-android]
Posted by "breautek (via GitHub)" <gi...@apache.org>.
breautek commented on issue #1929:
URL: https://github.com/apache/cordova-android/issues/1929#issuecomment-4488960356
You can view the notable changes in the [release blog](https://cordova.apache.org/announcements/2026/03/06/cordova-android-15.0.0.html)
The biggest change is likely EdgeToEdge support and status bar changes where the status bar became part of the core API and having the status bar plugin installed could potentially cause conflicts.
If you have the statusbar plugin installed, you could try removing it to see if it fixes your issue.
The status bar plugin is on it's way to become sunsetted, assuming. After cordova-ios@8 and cordova-android@15 -- the only platform that would need it is the browser platform, but the plugin still needs new major release to remove the android & ios implementations.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org
Re: [I] Android 7 app white screen: java.lang.NoClassDefFoundError: Failed resolution of: Landroid/webkit/PacProcessor [cordova-android]
Posted by "breautek (via GitHub)" <gi...@apache.org>.
breautek commented on issue #1929:
URL: https://github.com/apache/cordova-android/issues/1929#issuecomment-4488143646
According to Google (via https://issues.chromium.org/issues/40940738) -- the PacProcessor is not a fatal error and can be ignored. It's a red herring and likely not related to the "white screen" issue.
> This doesn't indicate any problem with WebView (it's logged at level info because it's not a problem), so the simplest thing to do is just ignore it.
>
>The interface between the framework and WebView changes over time as new functionality is added, but we just have one build of WebView that supports all of the OS versions that we update. So, WebView includes references to the PAC processor implementation added in Android 11, but since this doesn't exist on older versions it causes ART to emit this message during class verification. The code that uses this is never called on older OS versions and so it does not matter that it failed verification.
>
>I don't think there is any way we can avoid this happening in WebView; it's not possible to avoid referencing the class because of the specific way the interface is designed, which can't be changed now.
White screen issues are typically just a javascript error or something preventing your app from loading or initiating. It could be a misbehaving plugin or something more local to your own application. The best way to investigate further is by looking at the web developer console to see if there are any javascript errors present.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org
Re: [I] Android 7 app white screen: java.lang.NoClassDefFoundError: Failed resolution of: Landroid/webkit/PacProcessor [cordova-android]
Posted by "GitToTheHub (via GitHub)" <gi...@apache.org>.
GitToTheHub commented on issue #1929:
URL: https://github.com/apache/cordova-android/issues/1929#issuecomment-4485126776
Also your log shows the use of cordova-android 14.0.1 not 15:
`Apache Cordova native platform version 14.0.1 is starting`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org
Re: [I] Android 7 app white screen: java.lang.NoClassDefFoundError: Failed resolution of: Landroid/webkit/PacProcessor [cordova-android]
Posted by "richardliebmann (via GitHub)" <gi...@apache.org>.
richardliebmann commented on issue #1929:
URL: https://github.com/apache/cordova-android/issues/1929#issuecomment-4488865185
The issue only occurs after upgrading from cordova-android version 14.0.1 to 15. Therefore, I assume that the problem is not related to the operating system or the WebView implementation itself, but rather to how it is used within cordova-android.
@breautek : The WebView does not display any additional errors compared to version 14.0.1. When I open the "Device View" in Chrome Developer Tools, the view is rendered correctly. The DOM is also fully loaded and all components appear to be initialized as expected.
Based on this behavior, I suspect that the issue might be related to the exception involving the PacProcessor.
Do you have any other ideas what could cause a white screen on the device, even though the WebView successfully loads the DOM? Are there any relevant changes in cordova-android that could lead to this behavior, possibly affecting only certain Android versions?
Thank you very much for your help!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org
Re: [I] Android 7 app white screen: java.lang.NoClassDefFoundError: Failed resolution of: Landroid/webkit/PacProcessor [cordova-android]
Posted by "GitToTheHub (via GitHub)" <gi...@apache.org>.
GitToTheHub commented on issue #1929:
URL: https://github.com/apache/cordova-android/issues/1929#issuecomment-4485120209
Hi, I tested the latest cordova-android master with a Hello World app on an Android 7.1.1 Emulator and WebView version 55 and had no issues. Most likely this is not a Cordova regression, but a broken or incompatible WebView provider on that specific Android 7 device.
Why:
The crash happens inside Android WebView startup before Cordova logic runs:
`NoClassDefFoundError for android.webkit.PacProcessor` while Android is loading` com.google.android.webview`.
Cordova is only doing normal WebView construction at that point.
The installed com.google.android.webview build (106.0.5249.126 in the report) is likely mismatched/corrupted for that Nougat firmware/ABI combo. This can happen with sideloaded APKs, stale/broken Play updates, or OEM ROM/provider mismatches.
The Ionic engine in the stack is probably incidental; it still goes through normal Android WebView init.
Quick checks to confirm:
On the failing device, switch WebView implementation in Developer Options (Chrome vs Android System WebView) and retest.
Uninstall WebView/Chrome updates, reboot, then reinstall from Play Store.
Verify provider package/ABI/minSdk via adb dumpsys package com.google.android.webview.
Test another Android 7 device with the same WebView version to see if issue is device/ROM-specific.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org