Running MonkeyGame

Monkey Targets Forums/Android/Running MonkeyGame

skid(Posted 2012) [#1]
... In Eclipse (oops)

If you have Eclipse installed with the Android plugins you can use it to debug your monkey games while they are running on the device.


Change Eclipse to use a workspace using the path of your game.build folder.

In the package explorer use right button and do New -> Android Project.

From here select Create project from existing source, and point that path at your /game.build/android folder.

Finish, and you should be good to go, with eclipse being able to compile and run your translated project.

Remote debug android projects like this with monkey set to Release and not Debug mode.


benmc(Posted 2012) [#2]
I usually use Eclipse when signing and building my final Monkey project, and if I have to debug Android specific problems, I run ddms.bat (part of the Android SDK tools) and it shows all the device Warnings, errors, etc, for debugging without the overhead of running Eclipse and refreshing the project after each build.

EDIT: I should add that I always test on a device because the emulator is incredibly slow, so I don't know if ddms.bat works nicely with emulators or not, tho I would assume it does.