美文网首页
cordova requirements

cordova requirements

作者: 有时间多读书 | 来源:发表于2017-12-13 11:15 被阅读0次

运行cordova requirements
问题1:
Could not find an installed version of Gradle either in Android Studio, or on your system to install the gradle wrapper. Please include gradle in your path, or install Android Studio
解决方法,到gradle官网:https://gradle.org/install 下载并解压,在环境变量Path最后添加G:\Android\gradle-3.3\bin(根据自己解压路劲)重启CMD 输入gradle -v 出现gradle得版本信息证明配置正确
问题2
Error: Android SDK not found. Make sure that it is installed. If it is not at the default location, set the ANDROID_HOME environment variable.
解决方法:
Run
1.cordova platform rm android;
2.cordova platform add android@6.2.3
https://stackoverflow.com/questions/42645285/cordova-android-sdk-not-found-make-sure-that-it-is-installed-if-it-is-not-at

相关文章

网友评论

      本文标题:cordova requirements

      本文链接:https://www.haomeiwen.com/subject/ycdaixtx.html