title: java.lang.NoSuchMethodError: org.json.XML.toJSONObject
body: <p>Aim: to parse XML to JSON:
  i have imported json-org.jar to parse XML to JSON.
  it was fine working with simple java project but during Android  its gives ERROR:</p>
  
  <pre><code>String stringxml="&lt;item&gt;&lt;title&gt;Clinton slams Russia, China over Syria&lt;/title&gt;&lt;/item&gt;";
  JSONObject xmlJSONObj = XML.toJSONObject(stringxml);
  org.json.JSONObject j = org.json.XML.toJSONObject(stringxml);
  String json = j.toString();
  </code></pre>
  
  <p>I have got the Error in DDMS:
      java.lang.NoSuchMethodError:org.json.XML.toJSONObject
      at org.json.XML.toJSONObject(XML.java:282)</p>