On my Mac Mini I can build no problems, and don’t remember ever having to do anything with ‘appt’.
When I try to build on my MacBook I get this error:
/Users/MacBookPro/Android/sdk/tools/ant/build.xml:597: The following error occurred while executing this line: /Users/MacBookPro/Android/sdk/tools/ant/build.xml:649: The following error occurred while executing this line: /Users/MacBookPro/Android/sdk/tools/ant/build.xml:694: Execute failed: java.io.IOException: Cannot run program "/Applications/CoronaEnterprise/Corona/android/lib/Corona/${aapt}" (in directory "/Applications/CoronaEnterprise/Corona/android/lib/Corona"): error=2, No such file or directory
I have no idea what is wrong, I seem to have tried everything. If I got into my android sdk folder, I can see that aapt is in /Users/MacBookPro/Android/sdk/build-tools/21.1.2/aapt
It’s also in the build-tools folder for older versions, and the platform-tools folder (I think from sdk 8).
I’ve tried adding aapt as an alias to my bash_profile.
I’ve tried killing the terminal and restarting the macbook to make sure changes had taken effect.
What have I done wrong? Why is it trying to find the appt file in the corona folder instead of in the android sdk folder? As I say, the same build script works fine on my other mac and has done for over a year.