[ https://issues.apache.org/jira/browse/CB-3568?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13673721#comment-13673721 ]
Filip Maj commented on CB-3568: ------------------------------- John, 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: https://issues.apache.org/jira/browse/CB-3568 > 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 here. -- 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: http://www.atlassian.com/software/jira