need some help to configure monkey for android

Monkey Targets Forums/Android/need some help to configure monkey for android

hub(Posted 2011) [#1]
Hi !
i m newbie with monkey !
Is monkey automatically update the 'Monkey build' target list inside the ide ? (program->build). I've only HTML5 inside the list !

i've fellowing the android install recommandation from the monkey help.

here my config.winnt file :


Many thanks !

(Win 64).


pantson(Posted 2011) [#2]
I think its because you have installed Android into your "program files"
Avoid paths with [SPACES] in them.


pantson(Posted 2011) [#3]
PS.. yes it will automatically update the build list when you open up Monkey


Xaron(Posted 2011) [#4]
Have you installed JDK (32!!! bit), Android SDK and ANT?

Try to replace all pathes with absolut ones, so no system variables like ${SYSTEMDRIVE} but c:\...

If the pathes are correct you should see at least the Android target in Monk - well at least if you have the full version.


hub(Posted 2011) [#5]
with absolute system variable (c:\...). The android option appear now. But i've this when i compile (registered version)




Xaron(Posted 2011) [#6]
Looks like you haven't fully installed the Android SDK. Start the SDK manager and look if there are any updates.


hub(Posted 2011) [#7]
i've now this !



Jesse(Posted 2011) [#8]
if you have an actual device you need to set the device to accept the files.
if you are using the emulator make sure you have created an emulator virtual device by using Android.exe then make sure the emulator is running.


hub(Posted 2011) [#9]
thanks you !


Leos(Posted 2011) [#10]
I have the same issue above "Unable to resolve target 'android-13'"

So... I just need to install the emulator?


outsider(Posted 2011) [#11]
No, you need to install SDK Platform Android 3.2
http://sagistech.blogspot.com/2010/05/android-sdk-error-unable-to-resolve.html


Leos(Posted 2011) [#12]
But I have this installed already... Or else I wouldn't even see the option to compile/run for Android, right?...


outsider(Posted 2011) [#13]
No, if you have older version (like for example 2.1)you will see compile option.
Go to ..\Program Files\Android\android-sdk and use SDK Manager.exe


Leos(Posted 2011) [#14]
My SDK manager just says everything is installed.


Leos(Posted 2011) [#15]
It seems to be Android 4.0 platform, API Level 14, is that right?


outsider(Posted 2011) [#16]
Ok, maybe you need update Android SDK Tools to rev 15 in SDK Manager.exe, this help me.
http://www.monkeycoder.co.nz/Community/post.php?topic=1806&post=17058

Edit: No because: "Unable to resolve target 'android-13' - install SDK Platform Android 3.2"


Leos(Posted 2011) [#17]
Thanks!
I've managed to install Android 3.2 platform (couldn't find that on the list before), created a virtual device with AVD manager and everything is working fine now!


Lane(Posted 2011) [#18]
HOLY COWS the emulator is slow... 30 minutes now and it still hasent finished booting.
How do I configure Monkey to talk to the spare droid I have instead?


Lane(Posted 2011) [#19]
No answers yet, if someone else comes across this, maybe try the VirtualBox solution.
http://www.monkeycoder.co.nz/Community/posts.php?topic=1394


Aman(Posted 2011) [#20]
I never bothered to get my apps working on the emulator. it is super slow. Instead, I install them directly to my phone.

You have two ways todo this: either by connecting your phone in debugging mode. You might need to install a usb driver for your phone to work.
1-Enable Settings>applications>Development>USB debugging on your phone
2-connect your phone to the computer and wait til the drier is installed
3-run the command line prompt (start>run>cmd) and type [adb devices]*

You will get a list of the devices attached [this includes emulator virtual devices]. If you see your phone there, just compile for android in monkey and your game will be installed to your phone.

*You might need to navigate to your [android/platform-tools] folder first.

The other way is to copy the "MonkeyGame-debug.apk" file into your phone and install it manually. the file will be under [build/android/bin]

The first way is useful when it comes to debugging.