After JDK eclipse Android-SDK-Linux is installed in Linux, an error is reported when AVD is created:
[19:32:23-SDK manager] failed to create the SD card.
[19:32:23-SDK manager] failed to create sdcard In the AVD folder.
There are two reasons:
1: The files under the tools in your Android-SDK-Linux environment do not have the executable permission.
Chmod + x tools *
2: If you are an x86_64 system, you need to add a libstdc ++. so.6 file package, because Android-SDK-Linux does not have 32-bit or 64-bit.
This package does not exist. Then you can install the plug-in online.
Yum install libstdc ++. so.6
If error while loading shared libraries: libz. so.1: cannot open shared object file: no such file or directory appears on the eclipse console
The error message is also a 32-bit Software Package compatibility problem (this problem will cause the failure to automatically generate the R. Java file)
The same error is returned when you enter Android-SDK-Linux/platform-tools/use./aapt.
Yum install zlib. i686 Solution
In 64-bit fedora, Android reports the error SDL init failure. reason is: no available video device because some library files on Android are 32-bit.
Some 32-bit
Yum install glibc. i686 ncurses-libs.i686 libstdc ++. i686 libzip. i686 libx11.i686 libxrandroid. i686 SDL. i686
Cocould not create temp file for system NAND Disk
Chmod 777/tmp/android