Software Archive
Read-only legacy content
17060 Discussions

Crosswalk aplication error

Alex_Hang
New Contributor II
202 Views

I have built a Crosswalk Android app which runs OK when the phone is not connected to mobile data. But the app has some features that require Internet Connection, so when I turned the mobile data on, the app displays a window which says: Application Error: The connection to the server was unsuccesful (file:///android_asset/www/index.html)

 I have no ideea what is wrong with the app. Can somebody help me? 

                                                                                                                                Alex Hang

                                                                                                                                       

0 Kudos
1 Reply
Swati_S_Intel1
Employee
202 Views

Is your app trying to fetch something over the internet - any library and such - upon launch? The app might be timing out If your internet connection is slow. Try to include any libraries locally as part of your app instead of fetching them over the internet upon startup.

If that's not the case, please send your project zip via PM. 

0 Kudos
Reply