-
Notifications
You must be signed in to change notification settings - Fork 195
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* added a common problems section in CONTRIBUTING.md * added a common problems section in CONTRIBUTING.md and a new file listing common problems * Update COMMON_ERRORS.md
- Loading branch information
1 parent
02b058d
commit cfcc4bd
Showing
2 changed files
with
18 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Common Problems with First Setup | ||
|
||
### SDK Location not found. Define location with an ANDROID_SDK_ROOT environment variable. (expo modules error) | ||
|
||
If you're on windows, you'll need to edit your system (system wide)/user (just you) environment variables. You'll want to add an environment variable named **ANDROID_SDK_ROOT** (legacy env variable name) and **ANDROID_HOME** that points to your android studio's sdk location. It'll most likely look something like this: | ||
|
||
C:\Users\\**Username**\AppData\Local\Android\Sdk (copy paste this into the box) | ||
|
||
Delete your node_modules folder, invalidate caches and restart in android studio and restart your machine. Follow the steps again in the [setup section](./CONTRIBUTING.md#setup). | ||
|
||
### '.' is not recognized as an internal or external command, operable program or batch file. (npm run buildRelease error) | ||
|
||
Run this line in the terminal instead: ```cd android ; ./gradlew clean ; ./gradlew assembleRelease``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters