标签:err 解压 for either android roi system 环境变量 x86
[Error: Failed to find ‘ANDROID_HOME‘ environment variable. Try setting setting it manually. Failed to find ‘android‘ command in your ‘PATH‘. Try update your ‘PATH‘ to incl de path to valid SDK directory.] ERROR building one of the platforms: Error: cmd: Command failed with exit code
安装 android sdk,在 环境变量 -> 系统变量 中分别加入:
ANDROID_HOME=E:\Program Files\adt-bundle-windows-x86_64-20131030\sdk
PATH=%PATH%;%ANDROID_HOME%\tools;%ANDROID_HOME%\platform-tools
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
下载 gradle-4.1,解压到任意文件夹,在 环境变量 -> 系统变量 中的 Path 加入对应文件夹的位置,如:C:\gradle-4.1\bin\。
标签:err 解压 for either android roi system 环境变量 x86
原文地址:http://www.cnblogs.com/jiajinyi/p/7570647.html