Question

I have a problem with PhoneGap mobile app running on Android. I am currently using PhoneGap version 1.3.0. And it works perfectly on Android 2.3 and all the lower versions of Android. However, when I try to run it on Android 4.0 - Ice cream sandwich it throws this dialog error:

Application error - A network error occurred. (file:///android_asset/www/index.html#)

In the logcat there is not much relevant info, only this:

chromium - Unknown chromium error: -6

Anybody has any idea why my app works fine on all Android versions except the newest 4.0 ICS ? Thank you for any help in advance.

Was it helpful?

Solution

IIRC there is a bug in the 3.X versions of Android and it is probably in the 4.0 version as well. Try removing the # from your URL and things should work for you.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top