5

How can I enable the system navigationbar (the one including the HOME/BACK/MENU) on Jellybean emulator?

Googling this, somebody said it can be done by changing the property qemu.hw.mainkeys, however I can't find where to set this constant. can somebody help me?

rekire
  • 46,262
  • 29
  • 163
  • 256
Hardy
  • 51
  • 1
  • 3
  • Possible duplicate of [How to configure the Android Emulator to show onscreen buttons like the new Galaxy Nexus?](https://stackoverflow.com/questions/7873532/how-to-configure-the-android-emulator-to-show-onscreen-buttons-like-the-new-gala) – Sam Aug 08 '18 at 03:48

1 Answers1

15

I know this is an old question. But, the trick is the following:

Navigate to .android/avd/virtual-device.avd, and change the following values in the following files:

config.ini: hw.mainKeys=no, hw.keyboard=no

hardware-quemu.ini: hw.mainKeys = no, hw.keyboard = no

That should disable the navigation bar on the virtual device.

Note: To enable the use of the keyboard, you just have to set these parameters to yes.

Luis Lavieri
  • 3,857
  • 6
  • 38
  • 65
  • where do i find ".android" – icyNerd Mar 20 '22 at 20:03
  • @icyNerd it depends. On Windows, I think it lives under your username C:\Users\{username}\.android On the other hand, for other OS, you would have to google the location. Here are a couple of links with that answer for Ubuntu and Mac: [link1](https://stackoverflow.com/questions/7705932/cant-find-android-folder-in-ubuntu), [link2](https://stackoverflow.com/questions/34532063/finding-android-sdk-on-mac-and-adding-to-path) – Luis Lavieri Mar 21 '22 at 21:47