I'm debugging a React Native app in the AVD Android Emulator running a Nexus 5X API 27 Oreo on Windows 10, and the developer menu will not show using the steps mentioned in this StackOverflow question How do you debug React Native?
- Using
Ctrl + M
on the emulator enables the multi-gesture action instead of the dev menu.Windows + M
minimizes all open windows. I have also tried going intoSettings > Send keyboard shortcuts to > Virtual device
. - Using the
adb shell input keyevent 82
command does not do anything. I tried going intoadb shell
and running the commandinput keyevent 82
. - Shaking the device using
Virtual Sensors > Accelerometer
does not bring up the menu by shaking the device. - Upgraded from API 27 Oreo to API 28 Pie.
So far I was able to open the Dev Menu using Step 2, but it stopped working all of a sudden, without any changes to the React Native code as far as I know. I tried running it on a physical device and shaking it worked as expected.