In my Android app the WebView activity class has following line,
webView.addJavascriptInterface(new JSInterface(this), \"Android\");
And
java.lang.ExceptionInInitializerError android OS 11
if this is related to OkHttp then update your version 4.4.0.
In this version its fixed.
implementation 'com.squareup.okhttp3:logging-interceptor:4.4.0'
thanks.