I just downloaded and installed the new Android SDK. When I start the emulator, on the emulator screen it says "Hardward Buttons not enabled in AVD". There are Home, Menu, etc are all disabled. How do I make these buttons enabled?
相关问题
- How can I create this custom Bottom Navigation on
- Bottom Navigation View gets Shrink Down
- slurm: use a control node also for computing
- How to make that the snackbar action button be sho
- Listening to outgoing sms not working android
相关文章
- android开发 怎么把图片放入drawable的文件夹下
- android上如何获取/storage/emulated/下的文件列表
- androidStudio有个箭头不认识
- SQLite不能创建表
- Windows - Android SDK manager not listing any plat
- Animate Recycler View grid when number of columns
- Why is the app closing suddenly without showing an
- Android OverlayItem.setMarker(): Change the marker
The accepted answer is 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 uncheck this toggle inside your android emulator setings -> hardware profile:
Go to Tool > Android > SDK Manager > Tool >Manage AVDs > Select Your Emulator > Edit and manage your setting and Restart Android Studio
If you don't understood Please follow the link there is details with screenshot image
http://solutionfrominternet.blogspot.com/2015/01/how-to-show-system-navigation-bar-in.html
I had to delete my AVD and completely recreate it with the hardware buttons activated in order to make it work. Simply modifying the existing device definition didn't fix it for some reason.
For those who cannot make it work: before recreating an AVD, try first to press the numlock key as this influences the behavior of the Fn keys. In my case, if numlock is off, F2 doesn't work.
I know it has been a long time since the question was asked, but just to let the others to know.
You can manually edit the config.ini settings (on Windows 7 you can find it on C:/Users/the_user/.android/avd/the_emulator_name/config.ini).
Find out the line:
And change to:
Hope this helps.
To test your application on an emulator that represents the latest Android device, you can create an AVD with the new WXGA720 skin (it's an xhdpi, normal screen device). Note that the emulator currently doesn't support the new on-screen navigation bar for devices without hardware navigation buttons, so when using this skin, you must use keyboard keys Home for the Home button, ESC for the Back button, and F2 or Page-up for the Menu button.
Taken from: http://developer.android.com/tools/revisions/platforms.html