Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

React Native: android emulator won't show up developer menu

Cmd-M (in Mac) is supposed to bring up the dev menu in android emulator, but when I press cmd-M, it shows the pan gesture(?) as shown in the screenshot.

How can I open up the react native dev menu?

adb shell input keyevent KEYCODE_MENU doesn't show up the menu either..

enter image description here

I can't find menu button either? enter image description here

like image 350
eugene Avatar asked Sep 21 '18 14:09

eugene


Video Answer


2 Answers

Had exact the same problem and could not open the developer menu neither with ctrl + M nor with adb shell input keyevent 82. ctrl would also show this strange gesture object.

Turned out I had run the app in non-development mode (done with expo via expo start --no-dev) and the menu is only enabled in development mode. After expo start --dev it works like a charm.

like image 193
Peter Lehnhardt Avatar answered Sep 19 '22 21:09

Peter Lehnhardt


You can open it from the option button of the emulator or with this command adb shell input keyevent 82

like image 31
Anis D Avatar answered Sep 18 '22 21:09

Anis D