AVD emulator error in android studio

后端 未结 6 1622
孤街浪徒
孤街浪徒 2021-01-15 17:07

I\'m a newbie, my problem is when I try to make a new AVD I get this message :

\"an error occurred while creating the avd. see idea.log for details\"

I just

相关标签:
6条回答
  • 2021-01-15 17:45

    There might be several reason for this error, but this solution worked for me:

    Go to your avd location "C:\Users.android\avd", delete all the files inside this, and create the AVD Emulators once again from the Android Studio.

    0 讨论(0)
  • 2021-01-15 17:47

    You pasted x86_64 file inside the default folder

    C:\Users\(User Name)\AppData\Local\Android\Sdk\system-images\android-29\default
    

    Past it in android-29 folder not in default folder.

    0 讨论(0)
  • 2021-01-15 17:53

    On windows:

    1. Used 'Clone Device' option on device definition, it will add new device into list with appending '(edited)1' string.
    2. select this clone device: press 'Next'
    3. select this clone device: press 'Next'
    4. select system image as per your requirement: press 'Next'
    5. select 'Show Advance Setting' scroll down: in 'Memory and Storage' choose 'External file' (which is disable/gray-out in actual device but available in clone device) keep entry empty.
    6. press 'Finish'

    Hope this will solve your issue.

    0 讨论(0)
  • 2021-01-15 17:58

    I had this same issue and after trying @Tiago Elias's answer, I got passed that stage but ran into another problem whereby the emulator could not launch. Surprisingly, all of these where happening because I did not install the Android Emulator from SDK Tools. To do this,

    Open the SDK Manager

    Select the SDK Tools tab, If Android Emulator is unchecked, then check it and click on OK.

    You can now create a new emulator and run your app in it.

    0 讨论(0)
  • 2021-01-15 17:59

    Change the SD card selection in Advanced Settings to External file. You can leave the textbox next to it empty.

    0 讨论(0)
  • 2021-01-15 18:00

    If you are in linux, try this:

    sudo apt-get install lib32stdc++6
    

    It worked for me!

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