Android debuggable=false causing jQuery.ajax POST to fail in Cordova/Phonegap Eclipse project <p>I have an Android app built in Eclipse which uses Cordova 2.0.0. When built and loaded onto the phone using the Eclipse debugger the app works fine, but when I set android:debuggable="false" in the AndroidManifest file the jQuery.ajax() POST fails. I get nothing to tell me the failure reason in the LogCat trace.</p> <p>Here's the jQuery.ajax call:</p> <pre><code>jQuery.ajax({ url: that.endpoint, data: that.data, dataType: "json", type: "POST", contentType: "application/json", success: successHandler, error: errorHandler, timeout: serviceTimeout }); </code></pre> <p>When android:debuggable="true" it works fine and goes to the success handler, but when it android:debuggable="false" it goes to the failureHandler, with only textStatus set to "error" and nothing else to indicate why it failed. When it fails it appears that the post doesn't happen because I can see that it doesn't hit the webservice I am trying to call.</p> <p>Does anyone have any ideas why the debuggable flag might be affecting my application in this way? </p> <p>What else other than the logging level would the "debuggable" flag affect?</p> <p>Any hints or pointers would be greatly appreciated.</p> <p>Cheers</p>