Software Archive
Read-only legacy content
17061 Discussions

Application Error: App crashes after the start

Carsten_H_
Beginner
439 Views

Since I used "Crosswalk for Android" my app crashes after the start. On devices with android 4.3 and belower it crashes every time, on devices with android 4.4 and higher it crashes only sometimes.

I searched the internet and I found, that this is a timeout-error, because it takes to long to load the index.html...

Screenshot_2015-04-08-15-11-35.png

For the moment I have this solution to fix this problem:

I renamed my index.html to main.htm and created a nes index.html:

<!doctype html>

<html>

	<head>

		<title>tittle</title>

		<script>

			window.location='./main.html';

		</script>

	<body>		

	</body>

</html>

Now the app starts normal and there is no crash anymore.

Is there an other solution to fix this problem?

Greets

Carsten

0 Kudos
1 Reply
Amrita_C_Intel
Employee
439 Views

 If you are building a Crosswalk app, are you sure you're loading the x86 version of the APK on the x86 device and the ARM version on the ARM device? You can check the CPU architecture using the free CPU-Z app.

0 Kudos
Reply