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?
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 into Settings > Send keyboard shortcuts to > Virtual device.adb shell input keyevent 82 command does not do anything. I tried going into adb shell and running the command input keyevent 82.Virtual Sensors > Accelerometer does not bring up the menu by shaking the device.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.
For me this happened when I connected a real device at the same time as the simulator was running. After real device was disconnected and app was rebuilt Cmd+M (Mac OS) worked again.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With