An error occurred while creating AVD in eclipse in Linux: Failed cocould not create temp file for system NAND Disk

Source: Internet
Author: User
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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.