cordova平台添加android --save
? Running command - failed!**
[ERROR] Cordova encountered an error.
You may get more insight by running the Cordova command above directly.
[ERROR] An error occurred while running cordova platform add android --save(exit code 1):
**Using cordova-fetch for cordova-android@~6.2.2
Error: Failed to fetch platform cordova-android@~6.2.2**
Probably this is either a connection problem, or platform spec is icorrect.
Check your connection and platform name/version/URL.
Error: cmd: Command failed with exit code ENOENT
答案 0 :(得分:1)
在环境变量中的用户变量/系统变量中设置路径=" C:\ Windows \ System32"