I'm learning some basic OpenGL programming but I can't run the application because it crashes every time I run it with the following error:
01-21 16:22:04.245: E/AndroidRuntime(30137): java.lang.RuntimeException: Unable to start activity component: java.lang.NumberFormatException: Invalid int: "4.0.4"
The Samsung Galaxy SII that I'm runnning it on has android 4.0.4 installed on it and I'm wondering if that's the problem because most of the OpenGL tests I'm trying to run seem to be crashing with a similar error.
Any ideas what's happening?
"4.0.4"as anint. Maybe you need to remove the dots, maybe strip everything from the first dot on, maybe something else."4.0.4"to integer but it's not string representing a valid integer.