检查失败的要求尝试在这里设置环境变量newbie
Karthiks-Mini:sgame karthikn$ export ANDROID_HOME=/Users/karthikn/Library/Android/sdk
Karthiks-Mini:sgame karthikn$ export PATH=$PATH:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools
Karthiks-Mini:sgame karthikn$ source ~/.bash_profile
-bash: /Users/karthikn/.bash_profile: No such file or directory
Karthiks-Mini:sgame karthikn$ cordova requirements
Requirements check results for android:
Java JDK: installed 1.8.0
Android SDK: installed true
Android target: not installed
Android SDK not found. Make sure that it is installed. If it is not at the default location, set the ANDROID_HOME environment variable.
Gradle: not installed
Could not find gradle wrapper within Android SDK. Might need to update your Android SDK.
Looked here: /Users/karthikn/Library/Android/sdk/tools/templates/gradle/wrapper
Error: Some of requirements check failed