The Telerik Platform product is retired.Learn more

AJAX jQuery Requests Do Not Work on Android


Service Code (AppBuilder)
Plugin Whitelist
Mobile development type Hybrid (Apache Cordova app)
Mobile OS Android
Apache Cordova framework version Apache Cordova 4.0.0 and later


Hybrid application that is deployed on an Android device cannot do any HTTP/HTTPS requests.

Error Message

Failed to load resource: the server responded with a status of 404 (Not Found)


Apache Cordova 4.0 and above incorporates the Apache Cordova domain whitelisting, a security model which provides a configurable security policy to define which external sites may be accessed. For Android, this policy is implemented by the Apache Cordova Whitelist Plugin. If the plugin is not enabled in the project, any HTTP/HTTPS request will respond with a status of 404 (Not Found).


To enable the Apache Cordova Whitelist Plugin and allow the HTTP/HTTPS requests, complete the following steps:

  1. Open the project in your preferred AppBuilder client.
  2. Open project Properties.
  3. Open the Plugins tab.
  4. In the Core Plugins section, locate the Whitelist plugin.
  5. Enable the Whitelist plugin for the project.
  6. Rebuild the application and then deploy it on the Android device.

See Also

Contact us: +1-888-365-2779
Copyright © 2016-2018, Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.