1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
| yarn global add react-native-cli
react-native init rn_demo --version 0.59.9
react-native init rn_rematch_demo --template with-rematccode
react-native init rn_redux_demo --template rematch-redux
react-native run-android
# To run your app on iOS:
cd D:\WWW\567\a567
react-native run-ios
- or -
Open ios\a567.xcodeproj in Xcode
Hit the Run button
# To run your app on Android:
cd D:\WWW\567\a567
Have an Android emulator running (quickest way to get started), or a device connected
react-native run-android
# 模拟器弹出调试菜单
adb shell input keyevent 82
yarn add react-native-gesture-handler
react-native link react-native-gesture-handler
|