I’m getting a build failed when I try to build using Enterprise. Currently I’m using a 40 day trail with full functionality. I followed the instruction from the readme file found in the Enterprise folder. I tested building a sample project from the Enterprise folder. Updated my Android SDK first before doing a build.
Entered this command on terminal:
[lua]
cd /Applications/CoronaEnterprise/Samples/SimpleLuaExtension/android
./build.sh “/Applications/eclipse/android-sdk-macosx”
[/lua]
and I got this message
[lua]
CORONA_PATH: …/…/…
Updated local.properties
build.xml: Found version-tag: custom. File will not be updated.
Updated file ./proguard-project.txt
Updated local.properties
Updated file …/…/…/Corona/android/lib/Corona/proguard-project.txt
Error: The project either has no target set or the target is invalid.
Please provide a --target to the ‘android update’ command.
Using Corona Enterprise Dir: …/…/…
Buildfile: /Applications/CoronaEnterprise/Samples/SimpleLuaExtension/android/build.xml
-set-mode-check:
-set-release-mode:
[echo] *************************************************
[echo] **** Android Manifest has debuggable=true ****
[echo] **** Doing DEBUG packaging with RELEASE keys ****
[echo] *************************************************
-release-obfuscation-check:
[echo] proguard.config is ${proguard.config}
-pre-build:
[mkdir] Created dir: /Applications/CoronaEnterprise/Samples/SimpleLuaExtension/android/assets
[exec] Compiling /Applications/CoronaEnterprise/Samples/SimpleLuaExtension/android/…/Corona/config.lua ===> config.lua
[exec] Copying /Applications/CoronaEnterprise/Samples/SimpleLuaExtension/android/…/Corona/Icon-72.png to /Applications/CoronaEnterprise/Samples/SimpleLuaExtension/android/assets/Icon-72.png
[exec] /Applications/CoronaEnterprise/Samples/SimpleLuaExtension/android/…/Corona/Icon-72.png -> /Applications/CoronaEnterprise/Samples/SimpleLuaExtension/android/assets/Icon-72.png
[exec] Copying /Applications/CoronaEnterprise/Samples/SimpleLuaExtension/android/…/Corona/Icon-72@2x.png to /Applications/CoronaEnterprise/Samples/SimpleLuaExtension/android/assets/Icon-72@2x.png
[exec] /Applications/CoronaEnterprise/Samples/SimpleLuaExtension/android/…/Corona/Icon-72@2x.png -> /Applications/CoronaEnterprise/Samples/SimpleLuaExtension/android/assets/Icon-72@2x.png
[exec] Copying /Applications/CoronaEnterprise/Samples/SimpleLuaExtension/android/…/Corona/Icon.png to /Applications/CoronaEnterprise/Samples/SimpleLuaExtension/android/assets/Icon.png
[exec] /Applications/CoronaEnterprise/Samples/SimpleLuaExtension/android/…/Corona/Icon.png -> /Applications/CoronaEnterprise/Samples/SimpleLuaExtension/android/assets/Icon.png
[exec] Copying /Applications/CoronaEnterprise/Samples/SimpleLuaExtension/android/…/Corona/Icon@2x.png to /Applications/CoronaEnterprise/Samples/SimpleLuaExtension/android/assets/Icon@2x.png
[exec] /Applications/CoronaEnterprise/Samples/SimpleLuaExtension/android/…/Corona/Icon@2x.png -> /Applications/CoronaEnterprise/Samples/SimpleLuaExtension/android/assets/Icon@2x.png
[exec] Compiling /Applications/CoronaEnterprise/Samples/SimpleLuaExtension/android/…/Corona/main.lua ===> main.lua
[exec] Copying /Applications/CoronaEnterprise/Samples/SimpleLuaExtension/android/…/Corona/paper_bkg.png to /Applications/CoronaEnterprise/Samples/SimpleLuaExtension/android/assets/paper_bkg.png
[exec] /Applications/CoronaEnterprise/Samples/SimpleLuaExtension/android/…/Corona/paper_bkg.png -> /Applications/CoronaEnterprise/Samples/SimpleLuaExtension/android/assets/paper_bkg.png
[exec] Using Bundle Id: (com.mycompany.templateapp)
[exec] Using AppId: (ef12f6607362d039552a8e6223d80f68)
[exec] Creating $CONFIG_META…
[exec] Archiving /Applications/CoronaEnterprise/Samples/SimpleLuaExtension/android/assets/*.lu into /Applications/CoronaEnterprise/Samples/SimpleLuaExtension/android/assets/resource.car
[exec] Removing: /Applications/CoronaEnterprise/Samples/SimpleLuaExtension/android/assets/*.lu
[exec] Removing: /Applications/CoronaEnterprise/Samples/SimpleLuaExtension/android/assets/config.lu
[exec] Removing: /Applications/CoronaEnterprise/Samples/SimpleLuaExtension/android/assets/main.lu
-check-env:
[checkenv] Android SDK Tools Revision 22.0.0
[checkenv] Installed at /Applications/eclipse/android-sdk-macosx
-setup:
[echo] Project Name: SimpleLuaExtension
[gettype] Project Type: Application
-build-setup:
BUILD FAILED
/Applications/eclipse/android-sdk-macosx/tools/ant/build.xml:479: SDK does not have any Build Tools installed.
Total time: 4 seconds
Exiting due to errors (above)
[/lua]