cordova Gradle: not installed
Posted zq_Hero
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了cordova Gradle: not installed相关的知识,希望对你有一定的参考价值。
运行 cordova requirements 出现
Gradle: not installed 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/
二、安装gradle 方法二
gradle 之安装,大坑
找到Android Studio下的gradle,配置环境变量export GRADLE_HOME=到此目录下,无效
去官网下载gradle,配置环境变量export GRADLE_HOME=到此目录下,也无效
最后运行 brew update && brew install gradle ,成功
作者:阿_贵
链接:https://www.jianshu.com/p/0a9672fd5498
来源:简书
著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。
以上是关于cordova Gradle: not installed的主要内容,如果未能解决你的问题,请参考以下文章
ERROR: Could not find com.android.tools.build:gradle:3.5.0. Searched in the following locations:
Could not find com.android.tools.build:gradle:4.2.2. Searched in the following locations: - https:(代
could not find an installed version of gradle either in android studio
ionic3打包出错ionic cordova build android(系列一):could not find an installed version of gradle either in a