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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
