Wont compile with v44

Monkey Targets Forums/Android/Wont compile with v44

Gruk(Posted 2011) [#1]
Hi Guys, just getting a feel for monkey, but already I've come up against a problem - Android wont compile with the latest build (44). I've repointed the config but all I get is:

Translating matrixrocks
C:/MonkeyPro44/bin/trans_winnt -target=android -run C:/MonkeyPro44/bananas/hitoro/matrixrocks/matrixrocks.monkey

TRANS monkey compiler V1.17
Parsing...
Semanting...
Translating...
Building...
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
Buildfile: C:\MonkeyPro44\bananas\hitoro\matrixrocks\matrixrocks.build\android\build.xml
[setup] Android SDK Tools Revision 12
BUILD FAILED
C:\MonkeyPro44\bananas\hitoro\matrixrocks\matrixrocks.build\android\build.xml:65: Unable to resolve target 'android-8'
Total time: 0 seconds
Android build failed.

Process Complete

--

Compiles up fine on the stock v29??


therevills(Posted 2011) [#2]
Quick google led me to this page:

http://sagistech.blogspot.com/2010/05/android-sdk-error-unable-to-resolve.html

Reason: Could not find the proper Android SDK version. If the android SDK is installed correctly the problem is that the platform SDK requested by the "AndroidManifest.xml" android:minSdkVersion is not installed


Command line - start the "SDK Setup" here (x86):
C:\Program Files\Google\Android SDK\SDK Setup.exe
or here (x64)
C:\Program Files (x86)\Google\Android SDK\SDK Setup.exe



Gruk(Posted 2011) [#3]
That did it thanks! :)

Any chance you could help me a little more?

1. When it compiles up in debug, I have 2 APK's the DEBUG version and the DEBUG UNALIGNED - what is the difference?

2. Why cant I make a final version? it will only compile as debug?

Other than that, I've got 100 little bouncing dudes on my phone, they might not do anything.. but its all good! :)


MikeHart(Posted 2011) [#4]
About DEBUG UNALIGNED...

http://www.monkeycoder.co.nz/Community/posts.php?topic=695#5520


therevills(Posted 2011) [#5]
To make a final version choose release in JungleIDE or in Monk untick Debug Build (go to Program > Build Options > Debug Build)... it will still have the debug name...


Gruk(Posted 2011) [#6]
Thankyou :)