Alik Send
Alik Send

Reputation: 115

Android emulator + QEMU VNC

I'm trying to run the emulator like this:

emulator -avd name -qemu -vnc :4

And I get an error:

Could not read keymap file: 'en-us'

Is it an error of the emulator or QEMU's error? How can I fix it?

I have read this topic and created a symlink from /urs/local/Cellar/qemu/1.7.0_1/share/qemu/keymaps to my android-sdk/tools folder, but it didn't help. (I use OS X v10.9 (Mavericks).)

Upvotes: 5

Views: 3336

Answers (2)

There might be a shorter way, but this method solved my problem.

  • You can download the latest source tar ball from official QEMU Download page.
  • Then extract it to somewhere else.
  • You can find a keymaps directory in the pc-bios subfolder.
  • You may copy the keymaps folder to your [ANDROID_SDK]/tools/ directory.

Now you can use an arbitrary keymap file:

emulator -avd name -qemu -vnc :4 -k tr

Note:

In some situations you must copy the keymaps folder under [ANDROID_SDK]/tools/lib/pc-bios/

Upvotes: 2

guest
guest

Reputation: 31

It seems to be a QEMU thing.

Create this folder: (android-sdk)/tools/keymaps

Create an empty file in (android-sdk)/tools/keymaps called en-us.

The emulator should start now.

Upvotes: 3

Related Questions