Android 4.0 is now released. I have just updated my ADT plugin and downloaded the 4.0 SDK. But when I try to create an AVD for Android 4.0, Eclipse tells me 'Unable to find a 'userdata.img' file for ABI armeabi to copy into the AVD folder'.
I found d:\android-sdk-windows\platforms\android-14
missing the 'images' folder which other versions have. This folder may have 'userdata.img' that create an AVD should have.
Where should I to get 'userdata.img', and how do I create an AVD for Android 4.0?
This answer is for creating AVD in Android Studio.
I just did the same. If you look in the "Android SDK Manager" in the "Android 4.0 (API 14)" section you'll see a few packages. One of these is named "ARM EABI v7a System Image".
This is what you need to download in order to create an Android 4.0 virtual device:
You can also get this problem if you have your Android SDK version controlled. You get a slightly different error:
For some reason, the Android Virtual Device (AVD) manager believes the
.svn
folder is specifying an application binary interface (ABI). It looks foruserdata.img
within the.svn
folder and can't find it, so it fails.I used the shell extension found in the responses for the Stack Overflow question Removing .svn files from all directories to remove all
.svn
folders recursively from theandroid-sdk
folder. After this, the AVD manager was able to create an AVD successfully. I have yet to figure out how to get the SDK to play nicely with Subversion.I had a similar problem but using IntelliJ IDEA rather than Eclipse. I already had the ARM EABI installed, but I still got the error.
For IntelliJ IDEA, it appears you also have to create an AVB first before running the emulator, so to do this you must just go into Android SDK Manager and create a new AVB. This should solve your problem... Please make sure you have followed the above answer to include the ARM before following these steps.
If you installed the system image and still get this error, it might be that the Android SDK manager did not put the files in the right folder for the AVD manager. See an answer to Stack Overflow question How to create an AVD for Android 4.0.3? (Unable to find a 'userdata.img').
This site Android Create AVD shows you how to install the latest version of the Android SDK and AVD version 4 in Eclipse with video and screenshots if you're still stuck?