How to reload in the default Android emulator for react native app
to open dev menu with command line: adb shell input keyevent 82
you can activate live reload there.
I would suggest reading the doc if it wasn't already been done
I tried in this way:
Open Android Studio, then Click Tools->Android->AVD Manager, as shown:
Choose your virtual devices, then click edit this AVD,
In Virtual Device Configuration, click Show Advanced Settings, scroll down to find Keyboard, then check Enable keyboard input checkbox, then click Finish button.
Launch this AVD in emulator.
In Terminal, in your react native project directory, run "react-native run-android".
- Your will see your app will be running in your emulator, if you want to reload the project, you could double tap R(you should type it very quickly, otherwise it may not reload js) or you can type command+M, then you choose Reload. Hope this will help. Cheers
R+R works for android emulators.
For android one can use CTRL + R
For apple one can use R + R (two times R
).
For developers options:
One can also use the Command⌘ + D keyboard shortcut when your app is running in the iPhone Simulator, or Command⌘ + M when running in an Android emulator.