Trouble getting Android emulator to run in eclipse

前端 未结 17 2425
失恋的感觉
失恋的感觉 2020-12-15 05:23

I\'m trying to run the SDK Samples on the Emulator in Eclipse 3.5.

Most of the time the AVD Manager hangs when I try to create a new AVD. When I manage to create an

相关标签:
17条回答
  • 2020-12-15 05:47

    If you have special character in your username do this:
    ~/.android/avd on OS X and Linux, C:\Documents and Settings\user\.android\ on Windows XP, and C:\Users\user\.android\avd on Windows Vista, 7.
    There name.ini and name.avd folder
    - copy the folder for example: C:\
    - modifiy the path in the .ini to path=C:\name.avd

    0 讨论(0)
  • 2020-12-15 05:51

    I had a similar problem because of non-latin letters in my username. When opening the ini-file in a text editor I found the non-latin characters was wrong. So I just changed the path from path=c:\Users\YourNa¤%"%¤%%¤me.android\avd\YourAVDName.avd to path=c:\Users\YourName.android\avd\YourAVDName.avd and it worked.

    0 讨论(0)
  • 2020-12-15 05:51

    The solution (that worked for me) was to add the following missing entries in my avd's config.ini:

    image.sysdir.2=system-images/android-14/armeabi-v7a/
    image.sysdir.1=add-ons/addon-google_apis-google-14/images/armeabi-v7a/
    
    0 讨论(0)
  • 2020-12-15 05:52

    One way is to don't exit the emulator after running. You edit the program without closing emulator. Do it every time.

    0 讨论(0)
  • 2020-12-15 05:55

    Try to download again the SDK, unzip it and reinstall through Eclipse.

    Be sure to have the last version and have configured all the paths in Eclipse preferences correctly.

    0 讨论(0)
提交回复
热议问题