Skip to content
This repository was archived by the owner on Mar 25, 2019. It is now read-only.

Commit 838376d

Browse files
author
ericwlange
committed
Change ANDROID_SDK_ROOT to ANDROID_HOME to match what Android Studio expects
1 parent d523436 commit 838376d

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ Building AndroidJSCore-2.0 library
111111

112112
#### TL;DR - do this
113113

114-
Set `ANDROID_SDK_ROOT` and `ANDROID_NDK_ROOT` environment variables
114+
Set `ANDROID_HOME` and `ANDROID_NDK_ROOT` environment variables
115115

116116
% git clone --recursive https://github.com/ericwlange/AndroidJSCore.git
117117
% mkdir build
@@ -140,7 +140,7 @@ that it builds on Linux, as well, I will tag and release 2.0. If anyone else is
140140
married to that OS from Seattle, please feel free to get it working and contribute!
141141

142142
1. Download and install the latest version of [Android Studio], including the [NDK]
143-
2. Set two environment variables: `ANDROID_SDK_ROOT` and `ANDROID_NDK_ROOT` to point to the SDK and NDK directories, respectively
143+
2. Set two environment variables: `ANDROID_HOME` and `ANDROID_NDK_ROOT` to point to the SDK and NDK directories, respectively
144144
3. Clone the repo: `git clone --recursive https://github.com/ericwlange/AndroidJSCore.git`
145145

146146
This last step will grab both the AndroidJSCore repo, as well as my fork of the

scripts/config_common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def determine_host():
4040
PKG_URL = 1
4141
PKG_FNAME= 2
4242

43-
REQUIRED_ENV = ['ANDROID_SDK_ROOT', 'ANDROID_NDK_ROOT']
43+
REQUIRED_ENV = ['ANDROID_HOME', 'ANDROID_NDK_ROOT']
4444

4545
def check_env_vars():
4646
ret = 0

0 commit comments

Comments
 (0)