Skip to content

Commit 4d53e33

Browse files
committed
update readme
1 parent 0942bcf commit 4d53e33

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,22 @@ consist of:
3030
- Open `npx react-native run-ios`
3131

3232
9. Enjoy!!!
33+
34+
## List of Q & A:
35+
36+
- Q: I got error `Error: spawn ./gradlew EACCES` when run `npx react-native run-android`
37+
- A: Run this command `chmod 755 android/gradlew` from your root project directory
38+
39+
- Q: I got error `Error: SDK location not found. Define location with sdk.dir in the local.properties file or with an ANDROID_HOME environment variable.`
40+
- A:
41+
42+
- Go to your Project -> Android
43+
- Create a file local.properties
44+
- Open the file
45+
- Paste your Android SDK path depending on the operating system:
46+
- Windows:
47+
sdk.dir = C:/Users/`USERNAME`/AppData/Local/Android/sdk
48+
- Linux or MacOS
49+
sdk.dir = /home/`USERNAME`/Android/sdk
50+
51+
Replace `USERNAME` with your user name

0 commit comments

Comments
 (0)