From d8f36404f66708da8ce33be82c2e12dd75eb281b Mon Sep 17 00:00:00 2001 From: Alex Tran Date: Fri, 10 Jul 2020 14:54:36 -0700 Subject: [PATCH 1/2] Update readme to include reference to JDK 13 for Mac Dev environments. --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 4287f479c..f771d52d4 100644 --- a/README.md +++ b/README.md @@ -52,13 +52,14 @@ pod install --repo-update ### **Configuring a Mac Dev Environment** -**Required Tools:** [Android Studio](https://developer.android.com/studio/) (including NDK 21.3.6528147), [CMake](https://cmake.org/), [Ninja](https://ninja-build.org/) +**Required Tools:** [Android Studio](https://developer.android.com/studio/) (including NDK 21.3.6528147), [CMake](https://cmake.org/), [Ninja](https://ninja-build.org/), [JDK 13](https://www.oracle.com/java/technologies/javase-jdk13-downloads.html) - The `PATH` environment variable must include the path to adb (typically ~/Library/Android/sdk/platform-tools/). - The `PATH` environment variable must include the path to Ninja, or Ninja must be [installed via a package manager](https://github.com/ninja-build/ninja/wiki/Pre-built-Ninja-packages). - The `ANDROID_HOME` environment variable must be defined (typically ~/Library/Android/sdk). - The `ANDROID_SDK_ROOT` environment variable must be defined (typically ~/Library/Android/sdk). - The `ANDROID_AVD_HOME` environment variable must be defined if you plan to use Android emulators (typically ~/.android/avd). +- The `JAVA_HOME` environment variable must be defined to point to point to the correct version of the JDK (typically /usr/libexec/java_home -v 13). You can typically configure your environment by editing `~/.zshrc` and adding the following: @@ -68,6 +69,7 @@ export PATH=$PATH:~/path_to_ninja_binary/ # Only for manual installations of Nin export ANDROID_HOME=~/Library/Android/sdk export ANDROID_SDK_ROOT=~/Library/Android/sdk export ANDROID_AVD_HOME=~/.android/avd +export JAVA_HOME=$(/usr/libexec/java_home -v 13) ``` ### **Configuring a Windows Dev Environment** From a6be9587879b51b58d7c0c66a1b103992183de66 Mon Sep 17 00:00:00 2001 From: Alex-MSFT Date: Mon, 13 Jul 2020 10:10:42 -0700 Subject: [PATCH 2/2] Update README.md Co-authored-by: Ryan Tremblay --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f771d52d4..a818e4a57 100644 --- a/README.md +++ b/README.md @@ -59,7 +59,7 @@ pod install --repo-update - The `ANDROID_HOME` environment variable must be defined (typically ~/Library/Android/sdk). - The `ANDROID_SDK_ROOT` environment variable must be defined (typically ~/Library/Android/sdk). - The `ANDROID_AVD_HOME` environment variable must be defined if you plan to use Android emulators (typically ~/.android/avd). -- The `JAVA_HOME` environment variable must be defined to point to point to the correct version of the JDK (typically /usr/libexec/java_home -v 13). +- The `JAVA_HOME` environment variable must be defined to point to the correct version of the JDK (typically /usr/libexec/java_home -v 13). You can typically configure your environment by editing `~/.zshrc` and adding the following: