You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 28, 2019. It is now read-only.
# and click “More Info…” to visit the Java Developer Kit download website.
export JRE_HOME=$(/usr/libexec/java_home)
export JAVA_HOME=$(/usr/libexec/java_home)
Reasoning:
$ brew cask install android-sdk
==> Caveats
You can control android sdk packages via the sdkmanager command.
You may want to add to your profile:
'export ANDROID_SDK_ROOT="/usr/local/share/android-sdk"'
android-sdk requires Java 8. You can install it with
brew cask install homebrew/cask-versions/java8
…
$ brew cask install android-ndk
==> Caveats
You may want to add to your profile:
'export ANDROID_NDK_HOME="/usr/local/share/android-ndk"'
Though, for the java dep, I think I currently prefer to use SDKMan to manage java bits on my Mac/Linux:
$ sdk list java
==== BROADCAST =================================================================
* 18/06/18: Grails 3.3.6 released on SDKMAN!#grailsfw* 15/06/18: Spark 2.3.1 released on SDKMAN!#spark* 13/06/18: Kotlin 1.2.50 released on SDKMAN!#kotlin
================================================================================
================================================================================
Available Java Versions
================================================================================
9.0.7-zulu
9.0.4-openjdk
* 8.0.172-zulu
>* 8.0.171-oracle
7.0.181-zulu
10.0.1-zulu
10.0.1-oracle
10.0.0-openjdk
================================================================================
+ - local version
* - installed
> - currently in use
================================================================================
https://gist.github.com/patrickhammond/4ddbe49a67e5eb1b9c03#gistcomment-2376496
See the last few comments.
The text was updated successfully, but these errors were encountered: