Skip to content
This repository has been archived by the owner on Dec 7, 2019. It is now read-only.

ANDROID_HOME is deprecated #25

Open
plastiv opened this issue Mar 6, 2019 · 0 comments
Open

ANDROID_HOME is deprecated #25

plastiv opened this issue Mar 6, 2019 · 0 comments

Comments

@plastiv
Copy link

plastiv commented Mar 6, 2019

Google has changed ANDROID_HOME to ANDROID_SDK_ROOT https://developer.android.com/studio/command-line/variables#envar and at least brew users are encouraged to set the former.

https://github.com/Homebrew/homebrew-cask/blob/ff2606786cd5e4249fd7b53d1a388f016b9fcb42/Casks/android-sdk.rb#L38

Currently, ANDROID_HOME is forced by commander.

val androidHome: String by lazy { requireNotNull(System.getenv("ANDROID_HOME")) { "Please specify ANDROID_HOME env variable" } }

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant