Nexus 7 Problem
Monkey Targets Forums/Android/Nexus 7 Problem
| ||
My Nexus 7 decided to stop running my apps built as debug. Does anyone know how to go about fixing that? |
| ||
What do you mean with "stop running"? Do you have Android 4.2? |
| ||
Yeah, I have Android 4.2, a few days ago it ran them fine but now it starts and just stops. I made a really simple test app too and it won't run it either. |
| ||
I think you use Monkey v66? If so it won't run on Android 4.2. Mark had a patch in the product updates sections but due to reasons beyond my imagination it's not there anymore. |
| ||
Ok, open modules/mojo/native/mojo.android.java Now look for GLES11.glTexImage2D and add buf.position( 0 ); BEFORE that line with GLES11.glTexImage2D You should find 4 places in the code where you have to add this. |
| ||
That completely fixed it! Thanks a lot |
| ||
Great! :) |
| ||
Sorry for hijacking the thread. Could somebody with an access to a 4.2 device test my app, please? I applied the fix above, but without a device to test on there is no way to be sure it worked. The app is here: Read and Play: Stories for Kids It's free to download, and it's 21M in size (Wi-Fi recommended). Thank you. |
| ||
Can confirm it's working great on my nexus 7 Jelly bean 4.2 |
| ||
Supertino, thank you! Now I can proceed with applying the fix to my other Monkey apps. |