-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
React-Native - Docs - Add Issues section for Android Emulator #2078
Conversation
Been having issues for ever. Finally found a nice way to run an emulator in one line. Thank to https://www.bram.us/2017/05/12/launching-the-android-emulator-from-the-command-line/
@@ -14,6 +14,10 @@ In order to work with React Native Storybook, one or more devices should be conn | |||
- Forward port 9001 `adb reverse tcp:9001 tcp:9001` | |||
- Start with `react-native run-android` | |||
|
|||
#### Issues | |||
**Problem**: If you run into a `No such file or directory` error: | |||
**Solution**: You must run the emulator from its direction: `cd $(dirname $(which emulator)) && ./emulator -avd MY_AVD_NAME` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
from its directory
Codecov Report
@@ Coverage Diff @@
## master #2078 +/- ##
======================================
Coverage 21.4% 21.4%
======================================
Files 263 263
Lines 5793 5793
Branches 689 682 -7
======================================
Hits 1240 1240
- Misses 4014 4041 +27
+ Partials 539 512 -27
Continue to review full report at Codecov.
|
Been having issues for ever. Finally found a nice way to run an emulator in one line. Thank to https://www.bram.us/2017/05/12/launching-the-android-emulator-from-the-command-line/