Monkey games crashes on Android 4.2

Monkey Forums/Monkey Bug Reports/Monkey games crashes on Android 4.2

therevills(Posted 2012) [#1]
As per the title... When I've got time I'll have a look in ddms.


silentshark(Posted 2012) [#2]
Also see this thread..

http://www.monkeycoder.co.nz/Community/posts.php?topic=3988

Looks like a *major* issue :-(


marksibly(Posted 2012) [#3]
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.


silentshark(Posted 2012) [#4]
Hey, many thanks or looking at this so quickly, Mark :-)


Supertino(Posted 2012) [#5]
Thanks Mark, app working now on 4.2 (real device) =D


therevills(Posted 2012) [#6]
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)


DGuy(Posted 2012) [#7]
Re-tested on 4.2 AVD and no more crashing :)


slenkar(Posted 2013) [#8]
-


benmc(Posted 2013) [#9]
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.


marksibly(Posted 2013) [#10]
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]


slenkar(Posted 2013) [#11]
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)