Android Build Target

Monkey Targets Forums/Android/Android Build Target

Auburn(Posted 2012) [#1]
Hello everyone, just bought Monkey today and I am now going through the various targets just to test them. So far I have HTML5, GLFW and Flash working, although I have been struggling to even get android to appear as a target on the drop down menu. I have followed the instructions here (http://blitz-wiki.appspot.com/The_Android_target), installed API 16 with the SDK Manager and created an android virtual device. All the paths match what is in the winnt config (ANT,Java, andoird SDK)

I have never created android apps before so any pointers would be appreciated.

Thanks


Jesse(Posted 2012) [#2]
did you start the android virtual device?


Auburn(Posted 2012) [#3]
Yes, I did


therevills(Posted 2012) [#4]
Can you post your config file, if you can't even select Android something is wrong in your config...


Auburn(Posted 2012) [#5]
this is my config.winnt.txt


I have ANT in C:\ant\
and android SDK in C:\android-sdk-windows\
and java 7 jdk 32bit in default location

I don't think it is an issue with java as I can build to flash fine


therevills(Posted 2012) [#6]
Could you try adding the absolute paths to your tools?

eg:
ANT_PATH="${SYSTEMDRIVE}\apache-ant-1.8.4"
ANT_PATH="${SYSTEMDRIVE}\ant"
ANT_PATH="c\ant"
...
ANDROID_PATH="C:\android-sdk-windows"



Auburn(Posted 2012) [#7]
Setting the path for Java seemed to fix it, which is odd because according to the monkey wiki Java is required for flash which I can build fine. Anyway thanks for the help.