Monkey not playing nice! :o(

Community Forums/Monkey Talk/Monkey not playing nice! :o(

TeaBoy(Posted 2011) [#1]
Hi guys!

Bought monkey, but unfortunately I can't build an Android app, I have setup Ant, Android SDK and JDK, all latest versions.

The correct paths have been inserted into the config file 'config.winnt.txt'

I apologise if this looks messy - this happens with every example :o( any ideas?

Using : WIN XP SP3, 2.4 Ghz

many thanks in advance!

=======================

Translating hilbert
C:/Monkey/bin/trans_winnt -target=android -run C:/Monkey/bananas/warpy/hilbert/hilbert.monkey

TRANS monkey compiler V1.01
Parsing...
Semanting...
Translating...
Building...
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
Buildfile: C:\Monkey\bananas\warpy\hilbert\hilbert.build\android\build.xml
[setup] Android SDK Tools Revision 10
[setup] Project Target: Android 2.1-update1
[setup] API level: 7
[setup]
[setup] ------------------
[setup] Resolving library dependencies:
[setup] No library dependencies.
[setup]
[setup] ------------------
[setup]
[setup] WARNING: No minSdkVersion value set. Application will install on all Android versions.
[setup]
[setup] Importing rules file: tools\ant\main_rules.xml

clean:

BUILD SUCCESSFUL
Total time: 3 seconds
Buildfile: C:\Monkey\bananas\warpy\hilbert\hilbert.build\android\build.xml
[setup] Android SDK Tools Revision 10
[setup] Project Target: Android 2.1-update1
[setup] API level: 7
[setup]
[setup] ------------------
[setup] Resolving library dependencies:
[setup] No library dependencies.
[setup]
[setup] ------------------
[setup]
[setup] WARNING: No minSdkVersion value set. Application will install on all Android versions.
[setup]
[setup] Importing rules file: tools\ant\main_rules.xml

-debug-obfuscation-check:

-set-debug-mode:

-compile-tested-if-test:

-pre-build:

-dirs:
[echo] Creating output directories if needed...
[mkdir] Created dir: C:\Monkey\bananas\warpy\hilbert\hilbert.build\android\bin
[mkdir] Created dir: C:\Monkey\bananas\warpy\hilbert\hilbert.build\android\gen
[mkdir] Created dir: C:\Monkey\bananas\warpy\hilbert\hilbert.build\android\bin\classes

-aidl:
[echo] Compiling aidl files into Java classes...

-renderscript:
[echo] Compiling RenderScript files into Java classes and RenderScript bytecode...

-resource-src:
[echo] Generating R.java / Manifest.java from the resources...

-pre-compile:

compile:
[javac] C:\Program Files\Java\android-sdk-windows\tools\ant\main_rules.xml:384: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
[javac] Compiling 2 source files to C:\Monkey\bananas\warpy\hilbert\hilbert.build\android\bin\classes
[javac] Note: C:\Monkey\bananas\warpy\hilbert\hilbert.build\android\src\com\monkey\MonkeyGame.java uses unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.

-post-compile:

-obfuscate:

-dex:
[echo] Converting compiled files and external libraries into C:\Monkey\bananas\warpy\hilbert\hilbert.build\android\bin\classes.dex...
[apply] Error occurred during initialization of VM
[apply] Could not reserve enough space for object heap
[apply] Could not create the Java virtual machine.
BUILD FAILED
C:\Program Files\Java\android-sdk-windows\tools\ant\main_rules.xml:472: The following error occurred while executing this line:
C:\Program Files\Java\android-sdk-windows\tools\ant\main_rules.xml:203: apply returned: 1
Total time: 8 seconds

Process complete

====================================


simonh(Posted 2011) [#2]
Have you created an Android VM? Also, if you have bought Monkey, please post on the Monkey forums.