Skip to content
Snippets Groups Projects
Commit 5a40f6cb authored by Julia Friesel's avatar Julia Friesel
Browse files

Merge branch 'macos-troubleshooting' into 'master'

README: MacOS troubleshooting, 'ninja' and 'adb' errors

See merge request bloodyhealth/drip!149
parents e241deb9 2eddaa71
No related branches found
No related tags found
No related merge requests found
...@@ -35,7 +35,8 @@ A menstrual cycle tracking app that's open-source and leaves your data on your p ...@@ -35,7 +35,8 @@ A menstrual cycle tracking app that's open-source and leaves your data on your p
1. We recommend installing an [ESLint plugin in your editor](https://eslint.org/docs/user-guide/integrations#editors). There's an `.eslintrc` file in this project which will be used by the plugin to check your code for style errors and potential bugs. 1. We recommend installing an [ESLint plugin in your editor](https://eslint.org/docs/user-guide/integrations#editors). There's an `.eslintrc` file in this project which will be used by the plugin to check your code for style errors and potential bugs.
## Java problems on macOS ## Troubleshooting
### [MacOS] Java problems
Make sure that you have Java 1.8 by running `java -version`. Make sure that you have Java 1.8 by running `java -version`.
...@@ -47,6 +48,18 @@ If you don't have Java installed, or your Java version is different, the app may ...@@ -47,6 +48,18 @@ If you don't have Java installed, or your Java version is different, the app may
Now, `which java` should output `/Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java`, and the correct Java version should be used. Now, `which java` should output `/Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java`, and the correct Java version should be used.
### [MacOS] Ninja
If `npm` says `CMake was unable to find a build program corresponding to "Ninja".`:
```
brew install ninja
```
### [MacOS] adb not on the path
If you get error messages about `adb` not being found on your path:
```
ln -s ~/Library/Android/sdk/platform-tools/adb /usr/local/bin/adb
```
## Windows problems ## Windows problems
Unfortunately, the react native version we use doesn't work on Windows 10 it seems, find [more info here](https://github.com/facebook/react-native/issues/20015). Unfortunately, the react native version we use doesn't work on Windows 10 it seems, find [more info here](https://github.com/facebook/react-native/issues/20015).
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment