Beginning Android 4 with Intellij IDEA: Unable to find a userdata.img file to copy into the AVD folder

Android 4 (API level-14) has changed it’s userdata.img file location. On other versions (upto andoid 3.2, api level 13), it was kept in location -/android-sdk-linux/platforms/android-(api level)/images/userdata.img. Intellij IDEA (up to 10.5.2) is not up to date with this current change. Therefore shows “Unable to find a ‘userdata.img’ file to copy into the AVD folder” when you will try to create a new “Android Virtual Device”.

Even the idea site is misleading to the solution of this problem. They ask to follow a solution from stack overflow site. But that is not a solution too.

Solution:From idea’s Run/Debug configuration click on browse besides “Prefer Android Virtual Device for deployment”. Then from “Select Android Virtual Device” screen click on Android SDK Manage Then from Android SDK Manager, click on Tools and choose Manage AVDs. Then from Android Virtual Device Manage Click New and create the AVD for version 4.

Now run the project for version 4. Hello World. :)

By: Md. Shahjalal

About these ads

4 Responses to Beginning Android 4 with Intellij IDEA: Unable to find a userdata.img file to copy into the AVD folder

  1. beccari says:

    Great!

    Many thanks

  2. Mr Grimlock says:

    That didn’t exactly work, but it took me to a place. which did make mine work :) Thanks

  3. learn ubuntu says:

    learn ubuntu…

    [...]Beginning Android 4 with Intellij IDEA: Unable to find a userdata.img file to copy into the AVD folder « Programming and Algorithm Tutorial[...]…

  4. lexa says:

    tahnk you a lot

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: