Connection to the server was unsuccessful

I’m getting this error: the connection to the server was unsuccessful -> (file ///android_asset/www/index.html)

I’ve tried adding in config.xml this: but it doesn’t works.

I’m deploying on a Samsung S3 with Android 4.3, thanks!

I also had the problem, but the error disappears after running it in productive mode

ionic run android --prod

It’s possible that ionic 2 not support Android 4.3?

Supported OS can be found on this ionic docs link, there is also ionic v2 mentioned.

Ionic 1
Ionic V1 is focused on building native/hybrid mobile apps rather than mobile websites.

As such, our browser support tends to be whatever Web View API is available to native apps on a given platform. For Ionic 1x, that means UIWebView for iOS 7+, and Android 4.1 and up. We recommend using Crosswalk to improve performance on older devices.

Ionic 2
Ionic 2 is focused on building both native/hybrid apps through Cordova, as well as adding the ability for Progressive Web Apps and Electron .

The following OSs and browsers are supported:

iOS 8+
Windows 10 Universal App
Android 4.4+
Support can be pushed back to 4.1 if Crosswalk is used with Cordova