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
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞