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

5 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

  5. […] Beginning Android 4 with Intellij IDEA: Unable to find a userdata.img … – 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 … Therefore shows “Unable to find a ‘userdata.img’ file to copy into the AVD folder” when you will try to create a … […]

Leave a reply to learn ubuntu Cancel reply