Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Snake_S_
Beginner
142 Views

Error/Android

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?

Tags (2)
0 Kudos
2 Replies
Hamilton_Tenório_da_
Valued Contributor I
142 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

Snake_S_
Beginner
142 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.

Reply