Skip to content
This repository has been archived by the owner on May 27, 2021. It is now read-only.

ENV variables are not appropriately set #45

Open
scottdangelo opened this issue Nov 3, 2017 · 2 comments
Open

ENV variables are not appropriately set #45

scottdangelo opened this issue Nov 3, 2017 · 2 comments

Comments

@scottdangelo
Copy link
Member

According to the README 4. Install dependencies to build the mobile application after installing the dependencies:

Once you have completed all of the required installs and setup, you should have the following environment variables set appropriately for your platform:

JAVA_HOME
ANDROID_HOME
PATH

However, these are not set. It appears that they must be set manually, and the instructions point to the Troubleshooting link.
But if these must be set, they are not "Troubleshooting", and the instructions should be in the steps, as they are absolutely required.
Also, the Troubleshooting instructions do not mention setting JAVA_HOME. This should also be documented.

@scottdangelo
Copy link
Member Author

figuring out JAVA_HOME took some searching, so it'd be good to give explicit instructions.
jdk can be found by:

/usr/libexec/java_home

and the export can be done with:

export JAVA_HOME=`/usr/libexec/java_home`

@RiyaMRoy04
Copy link
Contributor

@scottdangelo Good inputs! Would you like to send a PR with these edits?

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

2 participants