need some help to configure monkey for android
Monkey Targets Forums/Android/need some help to configure monkey for android
| ||
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). |
| ||
I think its because you have installed Android into your "program files" Avoid paths with [SPACES] in them. |
| ||
PS.. yes it will automatically update the build list when you open up Monkey |
| ||
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. |
| ||
with absolute system variable (c:\...). The android option appear now. But i've this when i compile (registered version) |
| ||
Looks like you haven't fully installed the Android SDK. Start the SDK manager and look if there are any updates. |
| ||
i've now this ! |
| ||
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. |
| ||
thanks you ! |
| ||
I have the same issue above "Unable to resolve target 'android-13'" So... I just need to install the emulator? |
| ||
No, you need to install SDK Platform Android 3.2 http://sagistech.blogspot.com/2010/05/android-sdk-error-unable-to-resolve.html |
| ||
But I have this installed already... Or else I wouldn't even see the option to compile/run for Android, right?... |
| ||
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 |
| ||
My SDK manager just says everything is installed. |
| ||
It seems to be Android 4.0 platform, API Level 14, is that right? |
| ||
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" |
| ||
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! |
| ||
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? |
| ||
No answers yet, if someone else comes across this, maybe try the VirtualBox solution. http://www.monkeycoder.co.nz/Community/posts.php?topic=1394 |
| ||
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. |