mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-04 19:11:08 +08:00
Add Issues section for Android Emulator
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/
This commit is contained in:
parent
5457fdb11d
commit
3e0d36d2ac
@ -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`
|
||||
|
||||
## Android device
|
||||
|
||||
- Connect your device with adb
|
||||
|
Loading…
x
Reference in New Issue
Block a user