title: Xposed hook onto Android resource
body: <p>I am trying to use Xposed on Android to hook onto an Android resource, in particular, Webview's loadUrl. The code below hooks onto loadUrl and if successful, prints a message onto the log.</p>
  
  <pre><code>findAndHookMethod("com.example.webview.MainActivity", lpparam.classLoader, "android.webkit.WebView.loadUrl", new XC_MethodHook() {
          @Override
          protected void afterHookedMethod(MethodHookParam param) throws Throwable {
              XposedBridge.log("we are in loadurl!");
          }
  </code></pre>
  
  <p>However, doing so throws an error:</p>
  
  <p><code>java.lang.NoSuchMethodError: android.webkit.WebView#android.webkit.WebView.loadUrl()#exact</code></p>
  
  <p>Is it even possible to hook onto Android resources with xposed?</p>