Skip to content

Commit ae9f081

Browse files
committed
add QnA
1 parent 4d53e33 commit ae9f081

File tree

1 file changed

+18
-16
lines changed

1 file changed

+18
-16
lines changed

README.md

Lines changed: 18 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -33,19 +33,21 @@ 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
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
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+
41+
A:
42+
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

0 commit comments

Comments
 (0)