简体   繁体   English

eclipse android模拟器按钮不起作用

[英]eclipse android emulator buttons don't work

I'm developing an android app on Eclipse Juno. 我正在Eclipse Juno上开发一个Android应用程序。 The android emulator starts up properly loads my splash screen and then moves on properly but none of the buttons on the emulator work. Android模拟器启动正确加载我的启动画面然后正常移动,但模拟器上没有任何按钮工作。 All of the buttons that represent the buttons on the phone do nothing when clicked and also when I try to click any buttons on my app nothing happens. 所有代表手机按钮的按钮在点击时都不会做任何事情,当我尝试点击我的应用程序上的任何按钮时也没有任何反应。 Anyone have this problem before? 以前有人有这个问题吗?

In the new ADT, they changed the way the keyboard support works for emulators...so you need to manually add support for it. 在新的ADT中,他们改变了键盘支持对仿真器的工作方式......因此您需要手动添加对它的支持。 If you go to your AVD Manager then edit your AVD, in the Hardware section click New and add 'Keyboard support' and set the value to 'yes'. 如果您转到AVD Manager然后编辑您的AVD,请在“硬件”部分中单击“新建”并添加“键盘支持”并将值设置为“是”。 That should fix it for you. 那应该为你解决。

  1. start the eclipse 开始日食
  2. start android virtual device manager. 启动android虚拟设备管理器。
  3. select the AVD which you use. 选择您使用的AVD。 4.select edit in right corner. 4.选择右上角的编辑。
  4. in the hardware option select new. 在硬件选项中选择新的。
  5. add keyboard lid support and keyboard support. 添加键盘盖支持和键盘支持。
  6. set value yes for this properties. 为此属性设置值yes。
  7. now start emulator this will work. 现在启动模拟器这将工作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM