Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cannot create 2.3.3 Intel Atom AVD (userdata.img not found)

Tags:

I have read all relevant questions and no solution has worked form me ("Unable to find a userdata.img file for ABI armeabi...")

I can create/run Intel Atom AVD's under 4.2.2 without a problem.

But when i choose 2.3.3 as the target, i get the following console error:

[2013-02-16 20:44:04 - SDK Manager] Unable to find a 'userdata.img' file for ABI x86 to copy into the AVD folder. 

I have tried uninstalling/reinstalling the Intel image without success.

I'm using Android Developer Tools Build: v21.1.0-569685

enter image description here

like image 707
Iraklis Avatar asked Feb 16 '13 18:02

Iraklis


2 Answers

I searched for the answer to this and after coming up empty handed, I researched what files were being installed/deleted when adding/removing SDK levels through the manager.

This worked for me. It's a bug w/ the android-10 x86 system images folder location. I discovered it by comparing w/ the other versions that do work like android-17.

I copied the files from the folder

<sdk>/system-images/android-10/x86/images/x86

to the correct folder

<sdk>/system-images/android-10/x86

I didn't try to delete any existing files, I just merged the files in w/ the existing files that are there.

(this was on a Mac btw)

like image 161
jross Avatar answered Oct 12 '22 10:10

jross


This workaround was needed for revision 1 of the image, as of revision 2 it is not needed anymore. See Ralf's answer below.

Apparently the x86 system image for android-10 (as downloaded from Android SDK Manager) installs some files in the wrong place.

You can make it work by creating symlinks in <sdk root>/system-images/android-10/x86/ pointing to all files in <sdk root>/system-images/android-10/x86/images/x86/.

This should work on any Unix system (tested on Linux):

cd $ANDROID_HOME/system-images/android-10/x86/ for F in `ls images/x86/`; do ln -s images/x86/$F; done 

where $ANDROID_HOME points to your SDK installation.

like image 27
Andrea Avatar answered Oct 12 '22 10:10

Andrea