All articles represent ideas and point of view of the author. Please use your judgement before taking actions. Author is not responsible for any kind of loss or damage due to actions taken following this blog. You are allowed to copy content provided a visible clickable link or courtesy is expressed to the original article in this blog. If you have suggestions or ideas, please contact admin@thecoolblogs.com

Saturday, January 21, 2012

Unable to find a 'userdata.img' file for ABI armeabi to copy into the AVD folder.

While using Eclipse for Android development, you can create a new Android Virtual Device by clicking Window -> AVD Manager  and by clicking new button. If you are getting the error message "Unable to find a 'userdata.img' file for ABI armeabi to copy into the AVD folder." when trying to create an AVD for target platform 4.0.3, here is what you should do.

This error is happening because the location of userdata.img file has changed since Android 4 (API Level 14). So we need to reinstall the ARM EABI package. Follow the below steps



Step 1) Open Eclipse and click on Run Configurations (pull down the arrow next to the Run or Debug button).

Step 2) Select "Android Application" and click "New"

Step 3) Select the "Target" tab and select "Automatic" (Click once more even it is selected and the list box below is disabled"

Step 4) Click on the "Manager..." button

Step 5) In all the "Android 4.0.X" sections, select "ARM EABI v7a System Image" checkbox

Step 6) Click the "Install X Package..." button

You should be all set now

Try creating the AVD again, it should work fine

48 comments:

  1. Nice it's Work.

    Pankaj Kumar Gupta.

    ReplyDelete
  2. Thanks, it works for me.

    ReplyDelete
  3. Emulator in android is not printing.

    ReplyDelete
  4. Thanks its working
    if the emulator is not printing unlock the emulator

    ReplyDelete
  5. i hv manually downloaded armeabi package i.e. sysimg_armv7a-14_r01/r02
    bt dnt knw how to install it..
    could u please help me wid this
    m using windows 7 O.S.
    but u cud also tell about windows XP

    ReplyDelete
  6. tanq sir from chaitanya

    ReplyDelete
  7. Thank you sir. Its working fine.

    ReplyDelete
  8. thanxxxxxxxxxxxxxxxxxxxxxxx

    Engr. Naveed UR Rehman

    ReplyDelete
  9. hello...my problem is somewhat different...can anybody help me...actually i have downloaded arm eabi 14 image and platform is 15 ( api 15 ) sdk...so is there any way we can run avd through it

    ReplyDelete
  10. thanks. it's work fine

    ReplyDelete
  11. Thanks, hope it works

    ReplyDelete
  12. Thank You.It worked :)

    ReplyDelete
  13. appreciate the post, thanks so much!

    ReplyDelete
  14. Thankyou. It was of great help to me.

    ReplyDelete
  15. Thank you very much...its working..

    ReplyDelete
  16. Worked great - cheers

    ReplyDelete
  17. thx , it is helpful

    ReplyDelete
  18. sry i am still a beginner but what is the eclipse??!!!o.O

    ReplyDelete
    Replies
    1. Eclipse is one of the best open source IDE available for developers. You can download and get more information at http://www.eclipse.org/downloads/

      Delete
  19. Thanks a lot for the help. I was able to run android AVD on my computer with your help. Thanks again.

    ReplyDelete
  20. Thanks for the help but it is now downloading all of the stuff I just spent hours downloading and installing. Why is there not an option to search local machine for the stuff it needs?

    Again thanks for the help :-)

    ReplyDelete
  21. this is not the solution.
    I installed Eclipse, Java, and the ADT from scratch today and I get the error above.

    uninstalling, then installing the ARM EABI v7a from under the
    Android 4.0.3 heading did not work.

    to note: i have no other Android platform installed. Just the 4.0.3.

    Seems like I have the correct version of ARM EABI v7a and here are all the locations of any file named userdata.img:
    /opt/android-sdk-linux/add-ons/addon-google_apis-google-15/images/armeabi-v7a/userdata.img
    /opt/android-sdk-linux/system-images/android-15/armeabi-v7a/userdata.img
    /opt/android-sdk-linux/system-images/android-15/x86/userdata.img

    So it seems that I have some other old component, that isn't looking
    in the new place.
    What component is that?

    ReplyDelete
  22. I just went into SDK Manager and installed just the older version of ARM EABI v7a (API 14) and that solved the problem.
    So something inside Eclipse is not in synch with the newer API 15 EABI software.

    (gmoore777)

    ReplyDelete
  23. Yep....gmoore777 has it correct....if you're using API 15....install EABI v7a (API 14) and it works fine.

    ReplyDelete
  24. Thank you soooooooooooo much....

    ReplyDelete
  25. Thanks, it was helpful

    ReplyDelete
  26. thank you...it worked!

    ReplyDelete
  27. In Create New Android Virtual Device,I can't select CPU/ABI select box. It has empty values. How Can I solve it

    ReplyDelete
  28. In case anyone else is having problems updating through eclipse (the directory to update was being locked by eclipse (javaw.exe), and I couldn't close eclipse without also closing the SDK Manager): you can run the SDK Manager outside of eclipse by finding it in your filesystem.

    ReplyDelete
  29. in my case "ARM EABI v7a System Image check box option not shown
    what the problem and how to resolve

    ReplyDelete
  30. I am using Android 4 (API Level 16)and as mentioned by you in "step 5)" there is no option to select "ARM EABI v7a System Image" checkbox

    Please suggest what should i do??

    ReplyDelete
    Replies
    1. You must follow this directary:Window/Android SDK manager/Android 4.1 and click ARM EABI v7a System Image. Finally, choose Install packages...
      Good luck! ^^

      But I can do step 3! Help me, please!...

      Delete
  31. i don't have any section like "Android 4.0.X" sections when i am clicking the manger button,and i want to set target as ANDROID 4.1-API level 16

    ReplyDelete
  32. Same problem - no option for "Android 4.0.x" just an empty list.

    ReplyDelete