Open mahbub-alam opened 3 years ago
Same problem for me
i solved it by putting
WebView(this).destroy() in my application class
This issue was fixed in 1.2.11. Please check it out
Since AndroidX AppCompat has per-app language preferences for backward compatibility. Please migrate this library to AndroidX for more stability, compatibility, and longer support from Google team.
Thank you for your support
I am playing YouTube video in an activity using WebView. I am using this library for language change. There are two languages. When language is changed from default to 2nd language, going to that activity crashes the app (inflating exception).
Previously, inflating exception didn't mention the "Package not found" exception; but, I found it hidden way deep in "cause" field of the stack trace.
So, to fix that, I used the latest update v1.2.10 to fix the WebView crash. It worked on some devices. But, this one below is happening in other devices. And now the exception directly shows "Package not found".
This exception is from "Android 8.1.0, Huawei, Nexus 6P".
The stack trace below-