When I try to use the ant tool to compile for android it gives me this error:
Stivens-MacBook-Pro:android copy Stiven$ ./build.sh "/Applications/android-sdk"  
CORONA\_PATH: ../../..  
Updated local.properties  
build.xml: Found version-tag: custom. File will not be updated.  
Updated file ./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/ExtendingUI/android copy/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:  
 [exec] Compiling /Applications/CoronaEnterprise/Samples/ExtendingUI/android copy/../Corona/config.lua ===\> config.lua  
 [exec] Compiling /Applications/CoronaEnterprise/Samples/ExtendingUI/android copy/../Corona/main.lua ===\> main.lua  
 [exec] Using Bundle Id: (com.mycompany.templateapp)  
 [exec] Using AppId: (ef12f6607362d039552a8e6223d80f68)  
 [exec] Creating $CONFIG\_META...  
 [exec] Archiving /Applications/CoronaEnterprise/Samples/ExtendingUI/android copy/assets/\*.lu into /Applications/CoronaEnterprise/Samples/ExtendingUI/android copy/assets/resource.car  
 [exec] Removing: /Applications/CoronaEnterprise/Samples/ExtendingUI/android copy/assets/\*.lu  
 [exec] Removing: /Applications/CoronaEnterprise/Samples/ExtendingUI/android copy/assets/config.lu  
 [exec] Removing: /Applications/CoronaEnterprise/Samples/ExtendingUI/android copy/assets/main.lu  
  
-check-env:  
 [checkenv] Android SDK Tools Revision 21.1.0  
 [checkenv] Installed at /Applications/android-sdk  
  
-setup:  
 [echo] Project Name: ExtendingUI  
 [gettype] Project Type: Application  
  
-build-setup:  
 [echo] Resolving Build Target for ExtendingUI...  
[gettarget] Project Target: Android 4.1.2  
[gettarget] API level: 16  
 [echo] ----------  
 [echo] Creating output directories if needed...  
 [echo] ----------  
 [echo] Resolving Dependencies for ExtendingUI...  
[dependency] Library dependencies:  
[dependency]   
[dependency] ------------------  
[dependency] Ordered libraries:  
 [echo] ----------  
 [echo] Building Libraries with 'release'...  
  
BUILD FAILED  
/Applications/android-sdk/tools/ant/build.xml:595: The following error occurred while executing this line:  
/Applications/CoronaEnterprise/Corona/android/lib/Corona/build.xml:46: sdk.dir is missing. Make sure to generate local.properties using 'android update project' or to inject it through an env var  
  
Total time: 1 second  
Exiting due to errors (above)  
I checked, and there is a local.properties file, and it does have sdk.dir
This is the Sample app by the way.
Thanks! [import]uid: 130035 topic_id: 36385 reply_id: 336385[/import]