Error on Android APK


#1

On some devices users are getting the following on a phonegap release version:
he connection to the server was unsuccessful (File:///android_asset/www/index.html)
Does anyone now what is missing?

Thanks,
Mario


#2

Message moved to PhoneGap.


#3

I had a similar problem with my users. In my case I traced it back to having the debugger enabled in NSB when the phonegap build was done. The debugger is no longer active and the error message is cause by a timeout at startup trying to connect to the debugger.
Initial workaround was having users go into airplane mode, which stopped the message.
Then I added to the config.xml file for phonegap, which stopped the error but my app was taking forever to startup. it’s then I discovered disabling the debugger fixed the issue.

Hope that helps,
Malcolm


#4

You say , disable it in the project properties ? I had the same problem and used what you say,m the app take some time to inialtiize, but works !

thanks in advance


#5

Yes, disable the debugger in the properties and rebuild with phonegap, and that should take care of it (hopefully).


#6

Thank you !

RICARDO CASSOLATTO

Business Consultant
sintetik@gmail.com / 21 98196-0504

FastMobile
http://fastmobile.info
http://www.facebook.com/ricardo.cassolatto
https://br.linkedin.com/in/ricardo-cassolato-9ba225


#7

My problem seems to be different since I never had Debbuger =True and I check again and it is false.


#8

try putting the following in your config.xml. I read the error message is essentially caused by a timeout on connection. of course, what causes the timeout is another matter, but this at least got my program to load, albeit very slowly


#9

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.