试图创建AVD失败的时候是Android SDK中 [英] Failed when trying to create AVD is Android SDK
问题描述
我使用的是64位的Ubuntu 11.04和Eclipse靛蓝与开放JDK,得到了以下库
I am using the 64 bit Ubuntu 11.04 and Eclipse Indigo with the Open JDK and got the following libs
lib32asound2已经是最新版本。
lib32gcc1已经是最新版本。
lib32ncurses5已经是最新版本。
lib32stdc ++ 6已经是最新版本。
lib32z1已经是最新版本。
IA32-库已经是最新版本。
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 is already the newest version.
不过,当我试图在Android SDK中我得到以下错误的虚拟设备:
Still when I try to create the Virtual Device in Android SDK I get the following error:
[2011-07-04 21时30分16秒 - SDK管理器]无法创建SD卡
。
[2011-07-04 21时30分十六秒 - SDK管理器]未能在AVD文件夹中创建SD卡
[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.
我怎样才能解决这个问题?我用Google搜索,但无法获得正确的解决方案。
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 />
**不要使用目录名/的'
* 的使用Sun JDK
** Don't use 'directoryName/'
* Use Sun JDK
这篇关于试图创建AVD失败的时候是Android SDK中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!