Software Archive
Read-only legacy content

Error/Android

Snake_S_
Beginner
406 Views

Hey everyone. I have created a own app with Intel XDK, but sometimes If I start my app, do I get a error message."the connection to the server was unsuccessful. (file ///android_asset/www/index.html)"

I found this as solution: "you need to add super.setIntegerProperty("loadUrlTimeoutValue", 70000); in your activity.java file
inside src/com/yourProj/--/youractivity.java
above this line: super.loadUrl("file:///android_asset/www/index.html");"

But my problem is, I dont have the data "youractivity.java". So what can I do?

0 Kudos
2 Replies
Hamilton_Tenório_da_
Valued Contributor I
406 Views

Snake> Are you using an old (and lazy) device? It happens to me when I test on Tablet 10 (first model). Then I open again and the app runs normally.

Hamilton

0 Kudos
Snake_S_
Beginner
406 Views

I have tested on 2 Handys. Yes my first Handy (wiko sunset 2) is old. But my second Handy (doogee x6) isn't old. And If I my Handy (doogee x6) new start with app, then is the error message gone. It comes only If I install my app new. Strange.

0 Kudos
Reply