Skip to content

Commit 1844ef8

Browse files
authored
Update README.md
1 parent ae9f081 commit 1844ef8

File tree

1 file changed

+12
-15
lines changed

1 file changed

+12
-15
lines changed

README.md

Lines changed: 12 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -33,21 +33,18 @@ consist of:
3333

3434
## List of Q & A:
3535

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
36+
#### Q: I got error `Error: spawn ./gradlew EACCES` when run `npx react-native run-android`.
37+
-> Run this command `chmod 755 android/gradlew` from your root project directory
3838

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.`
39+
#### 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+
- Go to your Project -> Android
41+
- Create a file local.properties
42+
- Open the file
43+
- Paste your Android SDK path depending on the operating system:
4044

41-
A:
45+
- Windows:
46+
sdk.dir = C:/Users/`USERNAME`/AppData/Local/Android/sdk
47+
- Linux or MacOS
48+
sdk.dir = /home/`USERNAME`/Android/sdk
4249

43-
- Go to your Project -> Android
44-
- Create a file local.properties
45-
- Open the file
46-
- Paste your Android SDK path depending on the operating system:
47-
48-
- Windows:
49-
sdk.dir = C:/Users/`USERNAME`/AppData/Local/Android/sdk
50-
- Linux or MacOS
51-
sdk.dir = /home/`USERNAME`/Android/sdk
52-
53-
- Replace `USERNAME` with your user name
50+
- Replace `USERNAME` with your user name

0 commit comments

Comments
 (0)