title: android when I go to API>19 my Interface to Java gives me "TypeError: Android.mthod is not a function
body: <p>I have my min API as 16 and all works  but debugging is a real pain, so after API 19 we can use the Chrome debugger, but here my interfaces to the Java code give me the error "TypeError: Android.JavaMethod is not a function", I use this with angular for a hybrid App and it works very well, the iOS version works well with the Safari debugger of course the same code needs some touch up to run in Android and I need the debugger to figure it out. What is wrong with this?</p>
  
  <p>The relevant error</p>
  
  <pre><code>[INFO:CONSOLE(11594)] "TypeError: Android.JavaMethod is not a function
  09-05 15:24:28.103: I/chromium(18021):     at myJavaMethod 
  (file:///android_asset/my_angular/MyFile.js:217:18)
  09-05 15:24:28.103: I/chromium(18021):     at Object.&lt;anonymous&gt; 
  (file:///android_asset/my_angula/MyFile.js:901:67)
  ...
  </code></pre>
  
  <p>My JS file</p>
  
  <pre><code>function myJavaMethod(curData)
  {
    return(Android.JavaMethod(curData));   
  } // --- end of myJavaMethod ---
  
  ... more code and then i call it from the angular controller
  $scope.myCopy = myJavaMethod('arg');                
  ...
  </code></pre>
  
  <p>My java file</p>
  
  <pre><code>weby1.setWebViewClient(new WebViewClient());
  weby1.loadUrl("file:///android_asset/my_angular_hl/index.html");
  
  // call to interface to android
  weby1.addJavascriptInterface(new JavaScriptInterface(this), "Android");
  
  ...
  public class JavaScriptInterface 
  {
           Context mContext;
           JavaScriptInterface(Context c) {
               mContext = c;
           }
  
           public String JavaMethod(String arg)
           {
                ..stuff
                return str;
           }
  
           ... more methods
  </code></pre>