次のコマンドを使用して、Android SDK ツールを指すようにパスを設定しました。
# Cordova command line tools for Android SDK ----------------------
export PATH=${PATH}:/Development/adt-bundle/sdk/platform-tools:/Development/adt-bundle/sdk/tools
$PATH をエコーアウトすると、次のようになります。
/Users/lorenzoignacio/.rvm/gems/ruby-2.0.0-p0/bin:/Users/lorenzoignacio/.rvm/gems/ruby-2.0.0-p0@global/bin:/Users/lorenzoignacio/.rvm/rubies/ruby-2.0.0-p0/bin:/Users/lorenzoignacio/.rvm/bin:/usr/local/bin:/usr/local/heroku/bin:/usr/local/share/npm/bin:/Users/lorenzoignacio/.local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/local/git/bin:/usr/local/go/bin:/Development/adt-bundle/sdk/platform-tools:/Development/adt-bundle/sdk/tools
その最後を見ると、私のパスが表示されます。
/Development/adt-bundle/sdk/platform-tools:/Development/adt-bundle/sdk/tools
それでも、実行しようとすると、次の cordova platform add android
ようになります。
[Error: The command `android` failed. Make sure you have the latest Android SDK installed, and the `android` command (inside the tools/ folder) added to your path. Output: /bin/sh: android: command not found]
adt-bundle 全体は、ルート ユーザー ディレクトリのDevelopment
. 正確なパスは/Users/me/Development/adt-bundle/
私は何が欠けていますか?