Ubuntu - Error: Failed to create the SD card

后端 未结 18 3105
暖寄归人
暖寄归人 2020-12-22 17:42

I see a lot of posts about writing to the SD card, but I believe my problem is different. I am unable to create the SD card during the process of building an AVD.

I

18条回答
  •  臣服心动
    2020-12-22 18:09

    alex@alex-desktop:~$ mksdcard 1024M ./sdcard.iso
    bash: /home/alex/android-sdk-linux_x86/tools/mksdcard: No such file or directory
    alex@alex-desktop:~$ sudo android create avd -n my_avd -t 1 -c 1024M
    

    I have found this problem & i find a way first:

    cd /home/alex/android-sdk-linux_x86/tools/
    

    then write this:

    sudo chmod 755 mksdcard
    mksdcard 1024M ./sdcard.iso
    sudo android create avd -n my_avd -t 1 -c 1024M
    

    it should work :)

提交回复
热议问题