android - Cordova, Node.js, Phonegap -
i running through tutorial:
i created project within workspace with:
cordova create hello2 com.example.hello2 "hello world 2"
cd dir
and now:
cordova platform add android
gives me following error:
the command `android` failed. make sure have latest android sdk installed, , `android` command (inside tools/ folder) added path. output: /bin/sh: android: command not found
my export path looks this:
export path=${path}:/documents/devfolder/adt-bundle-mac-x86_64-20130522/sdk/platform-tools:/documents/devfolder/adt-bundle-mac-x86_64-20130522/sdk/tools
what's wrong path ?
or else cause error. and, yes did install android sdk. according this:
as stated in comments, problem related way path
android
executable defined. necessary define these paths absolute.
as object has no method 'tmpdir'
error, quick google search revealed following remedy: https://groups.google.com/forum/#!msg/phonegap/skq3mrripng/dv6wyotddf0j
Comments
Post a Comment