22
votes

I'm trying to create my first AVD for Android 4.0.3 following the tutorials, but I'm getting the error message:

[2012-05-09 10:46:29 - SDK Manager] Unable to find a 'userdata.img' file for ABI armeabi to copy into the AVD folder.

My attempts to solve:

  • I was trying with the Android 4.0, now I updated to the 4.0.3 and the problem is the same.
  • I reinstalled the Eclipse plugin twice with 4.0 and twice with 4.0.3, and the behavior doesn't change.
  • I downloaded the Eclipse for Java again, to another folder, and installed the plugin. The behavior is the same.

The file <sdk>/system-images/android-15/armeabi-v7a/userdata.img exists, it's a 4mb file, read-only.

Related question: How to create an AVD for Android 4.0 - the answer didn't worked here.

I'm running Eclipse Indigo Service Release 2 Build id: 20120216-1857 on Ubuntu 11.10.

5
I know it is a stupid mistake to make and you would have thought of it, but are you sure that you had selected "ARM EABI v7a System Image" under "Android 4.0.3 (API 15)" for downloading?Rajesh
In theory the linked answer should fix it. Have you installed both ARM EABI System Images? There are different ones for 4.0 and 4.0.3. Maybe you installed the one for 4.0 and tried to create a 4.0.3 AVD by accident - which doesn't work?user658042
@Rajesh yes, I selected everything twice (with Android 4.0 and 4.0.3)The Student
@alextsc I uninstalled all 4.0 itens before installing the 4.0.3. Now I have only 4.0.3, and I'm trying to create an AVD for 4.0.3 (there's no option for the 4.0).The Student
The Images are specific for the SDK versions. You can check whether the images have been downloaded correctly by going to <ANDROID_SDK_PATH>/system-images/android-15/armeabi-v7a and checking for existence of userdata.imgRajesh

5 Answers

18
votes

Make sure you have all of the latest files installed. Go to the SDK manager in Eclipse (WINDOW/SDK Manager). Make sure all of the files show "installed".

3
votes

I got this problem when trying to setup an emulator for Android 2.3.3 (API 10).

I had two platforms installed in my SDK: API 10 and 17. I noticed that the userdata.img files for these platforms were located as below:

system-images/
  android-17/
    x86/
      userdata.img
  android-10/
    x86/
      images/
        x86/
          userdata.img

So as you can see, the emulator images for the android-10 platform were probably not put in the right folder.

Anyway, in short: if you are in the same situation, just move the contents of the android-[version]/x86/images/x86/ folder to the android-[version]/x86/ folder. It worked for me.

Obviously, if you are trying to launch an ARM image, do the same thing with the armeabi folder instead of the x86 folder.

2
votes

i think you also have to download ARM EABI v7a System Image under Android 4.1

0
votes

I wrote an installation guide to get Android SDK and Eclipse working together. There are a couple of pitfalls which you may run into especially on Windows with regards to Firewalls. Here it is:

http://testigniter.blogspot.co.uk/2012/06/eclipse-with-android-sdk-installation.html

0
votes

Open SDK manager (run as admin) --> Android 4.1 (API 16) --> ARM EABI v7a system image. Install this.