我是离子2的新手,想要为我的应用程序构建一个apk到android,然后出现以下错误。我正在使用Ubuntu 16.04,我也安装了android studio并更新了所有sdk要求。
cordova build android - 失败了! [错误]运行cordova build android时出错(退出代码1):
ANDROID_HOME=/home/jayzdevera/Android/Sdk
JAVA_HOME=/usr/lib/jvm/java-8-oracle
Error: 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