First step: Connect the tablet to the computer and turn on "USB debugging"
All devices can be viewed by command
ADB devices# View all devices
Step two: On the real Machine Debug Android project
In general, open the project in Android Studio, click Run Project, then select the connected device, click OK to run the project on the device, but only if the device has "USB debugging" turned on
Step three: Run the project
You can debug a project by opening a command with a command
React-native run-android
At this point, the real machine should be able to open the project
Fourth step: Open the Debug menu
Mobile devices can open the Debug menu by shaking a device, or you can open the Debug menu.
But because it is flat, shaking a shake is not too convenient, you can run the command on the computer side to open the Debug menu, but sometimes can not open the Debug menu
82
Reference: "React native development" React native application device operation (Running) and commissioning (debugging) (3)
React native Android real-Machine debug