硬件按钮在Android模拟器中不可点击 [英] Hardware buttons is not clickable in Android emulator

查看:64
本文介绍了硬件按钮在Android模拟器中不可点击的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Android Studio 1.0 RC 2中工作,并且具有带Intel HAXM的Android仿真器.仿真器正在正常运行.它显示了硬件按钮,但此按钮不可单击.Nexus S默认为AVD配置,但比例为0.5.

I work in Android Studio 1.0 RC 2 and I have an Android Emulator with Intel HAXM. The emulator is running normally. It shows the hardware buttons, but this buttons is not clickable. The AVD configuration is default for Nexus S, but it's scale is 0.5.

推荐答案

基于@CommonsWare注释

Based on @CommonsWare comment

@Plugie:我从不使用这些外观,也不知道这些按钮应该是可单击的.

@Plugie: I never use those skins, and I am not aware that those buttons are ever supposed to be clickable.

我建议设置hw.mainKeys = no

I recommend to set hw.mainKeys=no

进入AVD的实际配置文件.在OS X和Linux上,通常是〜/.android/avd/.../config.ini,其中...是基于AVD的名称的.看看您的hw.mainKeys值是什么

Go into the actual configuration file for your AVD. On OS X and Linux, that normally is ~/.android/avd/.../config.ini, where ... is based on the name of your AVD. See what your hw.mainKeys value is

设置hw.mainKeys = no后,将显示系统栏,在屏幕截图中可以看到红色矩形.然后,您可以使用系统栏(而不是硬件按钮)导航BACK,HOME.

After set hw.mainKeys=no, it will show System Bar which can be seen in screen shoot which red rectangle. Then you can navigate BACK, HOME using System Bar instead of Hardware Button

这篇关于硬件按钮在Android模拟器中不可点击的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆