Page MenuHomePhabricator

D5624.id18399.diff
No OneTemporary

D5624.id18399.diff

diff --git a/docs/nix_mobile_setup.md b/docs/nix_mobile_setup.md
--- a/docs/nix_mobile_setup.md
+++ b/docs/nix_mobile_setup.md
@@ -64,6 +64,32 @@
# Nix Android prerequisites
+## JDK
+
+We’ll need the Java Development Kit (JDK) for Android development. We’re using [SDKMAN!](https://sdkman.io/) to manage our JDK installation.
+
+Run the following to install SDKMAN!:
+
+```
+curl -s "https://get.sdkman.io" | bash
+```
+
+Now either close and reopen your terminal window or re-source your `~/.bash_profile` (or desired shell configuration file) in order to load SDKMAN!:
+
+```
+source ~/.bash_profile
+```
+
+You can run `sdk version` to see if SDKMAN! was installed properly.
+
+Run the following to install Azul Zulu 11 with SDKMAN!:
+
+```
+sdk install java 11.0.13-zulu
+```
+
+SDKMAN! takes care of setting up the `$JAVA_HOME` environment variable to point to the newly installed JDK. You can verify this by running `echo $JAVA_HOME`.
+
## Android Studio
Start by downloading and installing [Android Studio](https://developer.android.com/studio/index.html) for your platform. When prompted to choose an installation type, select “Custom”.

File Metadata

Mime Type
text/plain
Expires
Fri, Dec 20, 3:09 AM (20 h, 20 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2679950
Default Alt Text
D5624.id18399.diff (1 KB)

Event Timeline