私のアプリは を使用しWebView
て長いテキストを表示しています
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
WebView mWebView = new WebView(getApplicationContext());
setContentView(mWebView);
String s = getHtml(); //get a long html from a file
webView.loadDataWithBaseURL("file:///android_asset/", s, "text/html", "UTF-8", null);
}
アプリは古いバージョンの Android でも
問題なく動作しますが、KitKat で実行している場合、WebView が作成または破棄されると、次のエラーが logcat に表示されます。
libGLESv2(21582): HWUI Protection: wrong calling from app context F:ES3-glDeleteShader
「Android 4.4 での WebView への移行」を読みましたが、問題を解決できません。
これを修正するにはどうすればよいですか?