Monkey games crashes on Android 4.2
Monkey Forums/Monkey Bug Reports/Monkey games crashes on Android 4.2
| ||
As per the title... When I've got time I'll have a look in ddms. |
| ||
Also see this thread.. http://www.monkeycoder.co.nz/Community/posts.php?topic=3988 Looks like a *major* issue :-( |
| ||
Hi, Ok, just uploaded an experimental fix to product updates (scroll to bottom of page). Extract this into your modules/mojo/native folder and rebuild. This is for v66, but the only change is to the texture upload code, ie: lines 1240-1335 so you can also apply this to older mojos if necessary. |
| ||
Hey, many thanks or looking at this so quickly, Mark :-) |
| ||
Thanks Mark, app working now on 4.2 (real device) =D |
| ||
Cheers Mark, so you are just setting the buffer (buf) position to zero before the glTexImage2D call. (Havent tested it as yet, just moved onto Win8 and have to set everything up for Monkey) |
| ||
Re-tested on 4.2 AVD and no more crashing :) |
| ||
- |
| ||
I am using v66b and I cannot get my games to run on the Nexus 7 4.2 AVD but have not confirmed this on a real device running 4.2 They just crash like they used to, saying Unfortunately the game has stopped. |
| ||
Do any of the bananas samples work? > They just crash like they used to, saying Unfortunately the game has stopped. What does 'crash like like they used to' mean? A different version? What version? [edit]Bouncyaliens works here on 4.2 emulated nexus 7[/edit] |
| ||
connect up the android device to your pc go to the android sdk folder and find adb in 'platform tools' open a terminal where you can type in commmands type in adb logcat run the game on the android device then you should be able to see the line that it crashes on (but there is a lot of text to search through) |