0

So I'm trying to debug my webview which it doesn't load font's and some of the elements are distorted, and this only happens in android 4.4 and below and I want to debug it but unfortunately WebView.setWebContentsDebuggingEnabled(true); method only works in api 19 and above. I think this is happening because the webview client in android 4.4 below is WebKit not chrome. So what is the solution for this situation?

hadibtf
  • 63
  • 8
  • See: [Android: Remote webview debugging for API level below 19?](https://stackoverflow.com/a/42495780/295004) – Morrison Chang Jun 22 '19 at 14:05
  • Already checked it, but that doesn't answer what I want. – hadibtf Jun 23 '19 at 05:05
  • 1
    Unfortunately your options for 4.4 and below are limited. Either you do manual logging or JavaScript tooling frameworks or if the feature doesn't exist you can include a [third party webview](https://stackoverflow.com/a/50459892/295004) which has the features you need (at the cost of a larger APK). – Morrison Chang Jun 23 '19 at 11:12

0 Answers0