Hi,
I’m trying to build my game with Enterprise and get Android build:
-
I have my Android SDK in my path and can access it from anywhere in Terminal but how can I store it in ANDROID_SDK variable name that build.sh file expects?
-
When I try to build the sample project of “SimpleLuaExtension” with this:
./build.sh “/Users/<username>/<path_to_sdk>/android-sdk-macosx”
it returns:
CORONA\_PATH: ../../.. Error: The project either has no target set or the target is invalid. Please provide a --target to the 'android update' command. Updated local.properties Updated file ../../../Corona/android/lib/Corona/proguard-project.txt Updated local.properties Updated file ../../../Corona/android/lib/facebook/facebook/proguard-project.txt Using Corona Enterprise Dir: ../../.. ./build.sh: line 95: ant: command not found Exiting due to errors (above)
- Is it due to the fact that it cannot find ant? I’m asking this because it returns several errors before saying that it cannot find ant.
I searched around and found topics that people on Mavericks apparently had to install ant manually due to it’s removal from Mavericks but they reported problems even doing so, but it seems it’s a known problem with Mavericks.
-
I don’t think that I have JDK, do I need to install it? If yes, which version and which architecture.
-
I even downloaded Eclipse for Java Developers, 32-bit", is this easier to do with it?
Thanks.
I’m on OS X Mavericks with I don’t know which version of Enterprise but I reckon to be fairly new.