How to install Motorola Xoom emulator

Motorola offers a bunch of emulators whose skins look like their real devices.

Technically they’re not needed in order to develop / test your android applications. You could stick with default android emulators.
I personally prefer to use emulators with skins of real devices so I feel happier 🙂

Today I tried to install Motorola ZOOM’s emulator and I faced a small problem: for XOOM, Motorola offers just a skin. In this post I will tell you the problem I faced and the solution.To install Motorola XOOM emulator you proceed as you would do for any other emulator: you extract the content you’ve downloaded from Motorola’s site inside the

<PATH TO ANDROID>/add-ons.

It will create a folder named Xoom.

On my system It is

/home/plicatibu/local/sdk/android-sdk/add-ons/Xoom

Then you list all targets available on your system to pick XOOM’s id:

Emulator id varies on machine base. On my system I got the following

id: 25 or “Motorola Mobility, Inc.:XOOM:11”
    Name: XOOM
    Type: Add-On
    Vendor: Motorola Mobility, Inc.
    Revision: 2
    Description: QHD 1280 800 Android 3.0  device
    Based on Android 3.0 (API level 11)
    Skins: WXGA, XOOM (default)
    ABIs : no ABIs.

So, when I issued the command to create an avd

(In my case, android create avd -t 25 -name api11_10.1_1280x800_160_xoom)

I’ve got the following error:

First of all: why did this happen? As I told you in the beginning XOOM emulator provided by Motorola is just a a skin. There is no image file provided. You must pick one yourself.

How do you solve this?

Go to

(In my case, /home/plicatibu/local/sdk/android-sdk/platforms)
You may have more than on platform (let me say android-11, android-12, etc)

Each platform has a folder named images.

Chose one of them (I picked android-11 because it’s Android 3.0) and then copy its image’s folder to XOOM emulator’s folder on <PATH TO ANDROID SDK>/add-ons.

In my case I did

cp /home/plicatibu/local/sdk/android-sdk/platforms/android-11/images /home/plicatibu/local/sdk/android-sdk/add-ons/Xoom

Then I issued the create avd command again:

(In my case, android create avd -t 25 -name api11_10.1_1280x800_160_xoom)

This time emulator was successfully created.

Final note: I you had paid attention to the result of the list target command you would have saw Android complaining about abi. In red bold you can see the line I’m talking about.

id: 25 or “Motorola Mobility, Inc.:XOOM:11”
    Name: XOOM
    Type: Add-On
    Vendor: Motorola Mobility, Inc.
    Revision: 2
    Description: QHD 1280 800 Android 3.0  device
    Based on Android 3.0 (API level 11)
    Skins: WXGA, XOOM (default)
    ABIs : no ABIs.

As an exercise, execute the list target command in your system and pay attention to what Android tells you about ABIs.

Hope it helps someone.

Please, try my games.

Please, try my games, play free on-line games on my site, tweet this post url and share it on facebook, google+ and other social medias.

This entry was posted in android and tagged , , , , , . Bookmark the permalink.