我正在处理一个Ionic 5项目。我已经安装了Android Studio Bumblebee,但是当我运行ionic cordova run android
时,我得到以下错误。据我所知,Gradle在我安装Android Studio时会自动安装。我是否需要额外安装Gradle?
Checking Java JDK and Android SDK versions
ANDROID_SDK_ROOT=undefined (recommended setting)
ANDROID_HOME=undefined (DEPRECATED)
Using Android SDK: C:\Users\wdwb_\AppData\Local\Android\sdk
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
2条答案
按热度按时间ttygqcqt1#
请查看documentation。您可能需要根据您的操作系统安装Gradle。
9gm1akwq2#
我修复了它安装gradle像这样(mac):酿造装置分级机