次のコードを使用しています。
try {
Class.forName("android.webkit.WebView")
.getMethod("onPause", (Class[]) null)
.invoke(myWebView, (Object[]) null);
} catch (Exception cnfe) {
cnfe.getCause();
Logger.appendErrorLog(cnfe.getMessage(), TAG);
}
InvocationTargetException
上記のコードの実行中に取得しています。何が問題ですか?