Problem compiling?

Monkey Targets Forums/Android/Problem compiling?

Yahfree(Posted 2011) [#1]
TRANS monkey compiler V1.02
Parsing...
Semanting...
Translating...
Building...
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
Buildfile: C:\Users\Aaron\Desktop\game1\main.build\android\build.xml
    [setup] Android SDK Tools Revision 8
BUILD FAILED
C:\Users\Aaron\Desktop\game1\main.build\android\build.xml:65: Unable to resolve target 'android-7'
Total time: 1 second
TRANS Failed to execute 'ant clean', return code=1

is what I get when I try to compile the game on the android target.
Here's my config file:


What's going on?


degac(Posted 2011) [#2]
Same error here.
After some try - lost my patience - I decided to delete my AndroidSDK, and reinstall rel.10 from start.
I take some times but now it works...


Yahfree(Posted 2011) [#3]
So the problem was an older AndroidSDK version? I'll try reinstalling


Xaron(Posted 2011) [#4]
Unable to resolve target 'android-7'

That means you haven't installed SDK version 2.1 properly (which is android-7). After downloading and installing the Android SDK you get a list what the launcher want to download. It's important to not only download and install the latest SDKs but the older ones as well.