Tuesday, May 29, 2012

Connection to the server was unsuccessful

The issue occurs as the Android emulator is REALLY slow so a timeout occurs before loading index.html because it reacts too slow. 


In your custom Activity file before calling super.loadUrl add the following line: super.setIntegerProperty("loadUrlTimeoutValue", 60000);

0 comments:

Post a Comment