Công nghệ Mẹo vặt

Lỗi Java, Android SDK path

Table of Content

Lỗi Java, Android SDK path

Thông báo lỗi

Checking Java JDK and Android SDK versions
ANDROID_SDK_ROOT=undefined (recommended setting)
ANDROID_HOME=undefined (DEPRECATED)
Failed to find 'JAVA_HOME' environment variable. Try setting it manually.

image

Sửa

image

image

ANDROID_HOME
C:\Users\gis\AppData\Local\Android\Sdk

ANDROID_SDK_ROOT
C:\Users\gis\AppData\Local\Android\Sdk

JAVA_HOME
C:\Program Files (x86)\Zulu\zulu-11
E:\WebKCN\tools_kcn\Android\Android Studio\jre



C:\Program Files (x86)\Zulu\zulu-11
C:\Program Files\Java\jdk1.8.0_91

ionic cordova build android --prod --release

Leave a Reply

Your email address will not be published. Required fields are marked *