cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Filip Maj (JIRA)" <>
Subject [jira] [Commented] (CB-3568) Path problem with Android SDK installation
Date Mon, 03 Jun 2013 22:48:21 GMT


Filip Maj commented on CB-3568:


Did you run {{sudo npm install -g cordova}} or just {{npm install -g cordova}} ? I believe
this issue might be related to permissions more so than anything else.

Also, just pushed up cordova 2.8.0 to npm, so if you have a chance, upgrade and then try again.
> Path problem with Android SDK installation
> ------------------------------------------
>                 Key: CB-3568
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CLI
>    Affects Versions: 2.7.0
>         Environment: Mac OS X
>            Reporter: John M. Wargo
>            Assignee: Filip Maj
> I downloaded the android sdk and extracted it to my downloads folder then added the platform-tools
and tools folders to the path environment. When I create a project and issue a cordova platform
add android, a bunch of stuff happens then eventually I receive an error message indicating
that the process couldn't find the build.xml, but it's looking for the file in /Applications/android-sdk-macosx/tools/ant/build.xml
which is not where my files are located.
> It looks like the cordova cli is forcing an absolute path for the Android SDK - looking
for it in Applications instead of where I have it. The Android SDK instructions for Max OSX
don't say to copy the files to Applications nor does the readme for the Cordova CLI in 2.7.
> I have a screen shot of this, couldn't find the output anywhere that I could past in

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message