Android Studio emulator missing hardware buttons [duplicate]

自作多情 提交于 2019-11-30 19:52:20
Josef Hruška

Other answers are kind of deprecated now, because the Android emulator interface changed a little bit.

If you need to display hardware buttons on your Android emulator you have to followe these steps:

  1. Open Android emulator devices

  2. Click "Edit this AVD"

  3. Select the first "Change" button beside the "hardware profile of the AVD"

  4. Click "Edit device..." button

  5. Uncheck this toggle.

  6. Restart your emulator and you should see the hardware buttons now.

Here is the solution worked for me:

  • Open SDK Manager
  • Go to Tools>Manage AVDs
  • Edit your AVD and change the skin to "Skin with dynamic hardware controls"

I could not get it to show the hardware controls. Simply clicking CMD+M (show menu command) does the trick for me.

I'm having the same problem with Android Studio 1.0.2, here is a workaround:

  1. Navigate to your sdk folder e.g. (C:\Android\sdk) and open the AVD Manager from there (tools\lib\AVD Manager.exe) Note: I had to copy AVD Manager.exe to (C:\Android\sdk) otherwise it will give you a "Failed to execute tools\android.bat error"
  2. Create your virtual device with hardware skin
  3. Close the AVD Manager

When you open the AVD Manager from Android Studio your newly created device will be listed.

You should change the device simulator you use for AVD. In device settings uncheck "Has hardware keyboard".

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!