You are not logged in.

#1 2011-06-26 21:14:27

ari
Member
Registered: 2011-06-26
Posts: 3

[SOLVED] Eclipse Android (64 bit) - Failed to create the SD card

Hi there!

So I've installed the Android SDK, mainly following this guide: http://mreschke.com/topic/237/Android+Development (although I had installed openjdk6 instead of jdk), and everything seems to be working perfectly fine..
However, when I try to add a virtual device, I receive the following

[2011-06-26 22:25:06 - SDK Manager] Failed to create the SD card.
[2011-06-26 22:25:06 - SDK Manager] Failed to create sdcard in the AVD folder.




I've tried running

sudo pacman -Sy lib32-libstdc++5 lib32-libx11 lib32-ncurses lib32-zlib lib32-sdl lib32-libxext

But with no luck, and my permissions are the following

ls -la ~/.android/ wrote:

total 24
drwxrwxrwx  3 username username 4096 Jun 25 23:13 .
drwx------ 28 ari ari 4096 Jun 26 22:48 ..
drwxrwxrwx  2 ari ari 4096 Jun 26 22:25 avd
-rwxrwxrwx  1 ari ari  102 Jun 25 22:30 ddms.cfg
-rwxrwxrwx  1 ari ari 1266 Jun 25 23:13 debug.keystore
-rwxrwxrwx  1 ari ari   73 Jun 26 22:25 repositories.cfg

ls -la /opt/android-sdk/tools/ wrote:

total 3312
drwxrwxrwx  5 root root    4096 Jun 25 22:19 .
drwxrwxrwx 10 root root    4096 Jun 25 23:10 ..
-rw-rw-r--  1 root root     323 May  4 01:13 adb_has_moved.txt
-rw-rw-rw-  1 root root    3443 May  4 01:13 android
drwxrwxrwx  2 root root    4096 May  4 01:13 ant
-rw-rw-rw-  1 root root    1977 May  4 01:13 apkbuilder
-rw-rw-rw-  1 root root    3179 May  4 01:13 ddms
-rw-rw-rw-  1 root root   49496 Jun 25 22:19 dmtracedump
-rw-rw-rw-  1 root root    1940 May  4 01:13 draw9patch
-rw-rw-rw-  1 root root 2312120 Jun 25 22:19 emulator
-rw-rw-rw-  1 root root  135140 Jun 25 22:19 etc1tool
-rw-rw-rw-  1 root root    3229 May  4 01:13 hierarchyviewer
-rw-rw-rw-  1 root root    7760 Jun 25 22:19 hprof-conv
-rw-rw-rw-  1 root root    1939 May  4 01:13 layoutopt
drwxrwxrwx  5 root root    4096 May  4 01:13 lib
-rw-rw-rw-  1 root root    7288 Jun 25 22:19 mksdcard
-rw-rw-rw-  1 root root    2262 May  4 01:13 monkeyrunner
-rw-rw-r--  1 root root  206311 May  4 01:13 NOTICE.txt
drwxrwxrwx  5 root root    4096 May  4 01:13 proguard
-rw-rw-rw-  1 root root      65 May  4 01:13 source.properties
-rw-rw-rw-  1 root root  534812 Jun 25 22:19 sqlite3
-rw-rw-rw-  1 root root    3044 May  4 01:13 traceview
-rw-rw-rw-  1 root root   43916 Jun 25 22:19 zipalign


Solved using chmod -R 777, instead of /* roll

Last edited by ari (2011-06-27 11:15:36)

Offline

Board footer

Powered by FluxBB