简体   繁体   中英

eclipse android emulator buttons don't work

I'm developing an android app on Eclipse Juno. The android emulator starts up properly loads my splash screen and then moves on properly but none of the buttons on the emulator work. 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. 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'. That should fix it for you.

  1. start the eclipse
  2. start android virtual device manager.
  3. select the AVD which you use. 4.select edit in right corner.
  4. in the hardware option select new.
  5. add keyboard lid support and keyboard support.
  6. set value yes for this properties.
  7. now start emulator this will work.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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