[ 
https://issues.apache.org/jira/browse/CB-7714?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Baptiste Morelle updated CB-7714:
---------------------------------
    Description: 
I've installed the android SDK using Brew (on Mac OS X 10.9.5), hence my 
`android` command path is a symbolic link defined as : `android -> 
../Cellar/android-sdk/23.0.2/bin/android`.

When running the `cordova-android/3.6.3/package/bin/check_reqs` script I get 
the following error: `[Error: ANDROID_HOME is not set and "android" command not 
in your PATH. You must fulfill at least one of these conditions.]`.

It appears that the check_android function of the 
`cordova-android/3.6.3/package/bin/lib/check_reqs.js` script does not correctly 
handle symbolic links.

  was:
I've installed the android SDK using Brew, hence my `android` command path is a 
symbolic link defined as : `android -> 
../Cellar/android-sdk/23.0.2/bin/android`.

When running the `cordova-android/3.6.3/package/bin/check_reqs` script I get 
the following error: `[Error: ANDROID_HOME is not set and "android" command not 
in your PATH. You must fulfill at least one of these conditions.]`.

It appears that the check_android function of the 
`cordova-android/3.6.3/package/bin/lib/check_reqs.js` script does not correctly 
handle symbolic links.


> cordova-android cannot find android path
> ----------------------------------------
>
>                 Key: CB-7714
>                 URL: https://issues.apache.org/jira/browse/CB-7714
>             Project: Apache Cordova
>          Issue Type: Bug
>         Environment: Brew
>            Reporter: Baptiste Morelle
>            Priority: Minor
>              Labels: patch
>
> I've installed the android SDK using Brew (on Mac OS X 10.9.5), hence my 
> `android` command path is a symbolic link defined as : `android -> 
> ../Cellar/android-sdk/23.0.2/bin/android`.
> When running the `cordova-android/3.6.3/package/bin/check_reqs` script I get 
> the following error: `[Error: ANDROID_HOME is not set and "android" command 
> not in your PATH. You must fulfill at least one of these conditions.]`.
> It appears that the check_android function of the 
> `cordova-android/3.6.3/package/bin/lib/check_reqs.js` script does not 
> correctly handle symbolic links.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to