This sounds crazy, but it worked for me:
- Launch a fresh emulator from the Android Virtual Device(AVD) Manager.
Note: "DO NOT START THE DEVICE".
- Find the configuration file, something like:
~/.android/avd/XXXX.avd/config.ini
Notice that this directory has only one INI
file.
- Edit
config.ini
:
change hw.dPad=no
to hw.dPad=yes
- The AVD Manager will still show
dPad=no
when you click on Details. It appears to not catch on until the virtual device is started. (Clumsy? yes)
- Start the device. It should show DPAD without the complaint about it not being there.
- The DETAILS button in AVD Manager should also show
hw.dPad=yes
I ran into this while trying to bring up the "Snake" demo. It failed to run, asking to press the UP key -- and the pad didn't respond! After getting DPAD set, the demo can be controlled through the pad.
This appears to be a bug in the AVD Manager. If you get dPad set to 'yes', it can be set to 'no' through the AVD Manager. But changing 'no' to 'yes' requires the above workaround.
del
and move/click the mouse. – Midwinter