Failed to create the SD card(in the AVD folder.)

在ubuntu18.04 64位机器上安装android adt环境,起初遇到问题:

[2019-02-13 17:32:32 - SDK Manager] Failed to create the SD card.
[2019-02-13 17:32:32 - SDK Manager] Failed to create sdcard in the AVD folder.

 

网上很多人说是tools没权限,也有人说需要使用sudo apt-get install ia32-libs 安装相应库,但是ia32-libs库貌似过时了,按照推荐使用

apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0

安装后,出现新问题, 

Error: .../tools/mksdcard:error while loading shared libraries libgcc_s.so.1: cannot open shared object file: No such file or directory
Error: Failed to create the SD card.
Error: Failed to create the sdcard in the AVD folder.

最终搜到了一篇国外的文章,成功解决

sudo apt-get install libgcc1:i386

 

你可能感兴趣的:(Android)