phonegap build ios
工作正常;它将 iOS 添加到平台,但是
phonegap build android
总是要我登录:
iMAc:myFirstApp2 $ phonegap build android
[phonegap] detecting Android SDK environment...
[phonegap] using the remote environment
[phonegap] PhoneGap/Build Login
[phonegap] Sign up at build.phonegap.com
[warning] GitHub accounts are unsupported
[prompt] enter username: [error] canceled
在 3.0.0 ( http://docs.phonegap.com/en/3.0.0/guide_cli_index.md.html ) 的文档中,似乎也可以使用本地环境。我已经正确设置了路径:
/usr/local/bin:/usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/Users/haemi/libs/sdk/platform-tools/:/Users/haemi/libs/sdk/tools
如何确保它使用的是本地环境而不是远程环境?