开发者

Failed when trying to create AVD is Android SDK

I am using the 64 bit Ubuntu 11.04 and Eclipse Indigo with the Open JDK and got the following libs

lib32asound2 is already the newest version.

lib32gcc1 is already the newest version.

lib32ncurses5 is already the newest version.

lib32stdc++6 is already the newest version.

lib32z1 is already the newest version.

ia32-libs 开发者_Python百科is already the newest version.

Still when I try to create the Virtual Device in Android SDK I get the following error:

[2011-07-04 21:30:16 - SDK Manager] Failed to create the SD card.

[2011-07-04 21:30:16 - SDK Manager] Failed to create sdcard in the AVD folder.

How can i solve this? I googled but unable to get the right solution.


As this problem is with the write access, finally I found that we have to give read write and execute access for the all users to the following directories:

sdk_installation_directory/tools (chmod -R 777 )<br />
home/username/.android/avd (chmod -R 777) <br />

** Don't use 'directoryName/'
*
Use Sun JDK


This problem may be due to not installing the i386 libraries required by Android Studio. You have the libraries installed, but they may be the x64 versions!

Make sure you follow the installation instructions from https://developer.android.com/studio/install.html.


Also you may want to read about multiarch on Debian based distros: https://wiki.debian.org/Multiarch/HOWTO

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜