Build permission denied - Android

Hi,

I have followed the Tutorial: Corona Enterprise Quickstart (Android) until the section compiling your app. Everything went smooth and without any trouble.

However, when I try : ./build.sh $ANDROID_HOME

I receive the following message : ./build.sh $ANDROID_HOME -bash: ./build.sh: Permission denied

Any help would be very appreciated.

Thanks

Nick

Do an:

ls -l build.sh

and see what it shows.  You may need to do a:

chmod a+x build.sh

to make sure it’s an executable script, though I don’t know why the permissions would be incorrect on it.

Rob

Thanks Rob, I was able to move a little bit more forward, but still have some weird problems.

 Here is the what happens :

I have update my Mac, authorize again Corona and here is the new error. ANT not found.

Nicolass-Mac-mini:android nmichaud$ ././build.sh $ANDROID_HOME

CORONA_PATH: …/…/…/…/…/…/Applications/CoronaEnterprise

Updated local.properties

build.xml: Found version-tag: custom. File will not be updated.

Updated file ./proguard-project.txt

Updated local.properties

Updated file …/…/…/…/…/…/Applications/CoronaEnterprise/Corona/android/lib/Corona/proguard-project.txt

Using Corona Enterprise Dir: …/…/…/…/…/…/Applications/CoronaEnterprise

././build.sh: line 91: ant: command not found

Exiting due to errors (above)

Nicolass-Mac-mini:android nmichaud$ android

Ok, I have made more progress. I have installed ANT as it seems with Maverick it is not there.

and Now I have this problem near the end of the build :

    [exec] Could not launch Corona Builder. Your current subscription ‘Pro’ does not have sufficient privileges.

     [exec] ERROR: This computer is not properly authorized. You must have an account with the Enterprise (Native extensions) subscription. Please use the ‘authorize’ command or check that your subscription type is valid.

I have try deauthorizing the simulator and authorizing the simulator. but no lock, no changes. 

Ok, I was finally able to build for Android. I will now try to build an IOS version. 

Do an:

ls -l build.sh

and see what it shows.  You may need to do a:

chmod a+x build.sh

to make sure it’s an executable script, though I don’t know why the permissions would be incorrect on it.

Rob

Thanks Rob, I was able to move a little bit more forward, but still have some weird problems.

 Here is the what happens :

I have update my Mac, authorize again Corona and here is the new error. ANT not found.

Nicolass-Mac-mini:android nmichaud$ ././build.sh $ANDROID_HOME

CORONA_PATH: …/…/…/…/…/…/Applications/CoronaEnterprise

Updated local.properties

build.xml: Found version-tag: custom. File will not be updated.

Updated file ./proguard-project.txt

Updated local.properties

Updated file …/…/…/…/…/…/Applications/CoronaEnterprise/Corona/android/lib/Corona/proguard-project.txt

Using Corona Enterprise Dir: …/…/…/…/…/…/Applications/CoronaEnterprise

././build.sh: line 91: ant: command not found

Exiting due to errors (above)

Nicolass-Mac-mini:android nmichaud$ android

Ok, I have made more progress. I have installed ANT as it seems with Maverick it is not there.

and Now I have this problem near the end of the build :

    [exec] Could not launch Corona Builder. Your current subscription ‘Pro’ does not have sufficient privileges.

     [exec] ERROR: This computer is not properly authorized. You must have an account with the Enterprise (Native extensions) subscription. Please use the ‘authorize’ command or check that your subscription type is valid.

I have try deauthorizing the simulator and authorizing the simulator. but no lock, no changes. 

Ok, I was finally able to build for Android. I will now try to build an IOS version.