SIDEBAR
»
S
I
D
E
B
A
R
«
Android SDK AVD Problem : unknown virtual device name & could not find virtual device
Februari 5th, 2011 by Rudra

Having this kind of problem when trying to use AVD in Android SDK Windows?

emulator: ERROR: unknown virtual device name: ‘Android2.2-APILevel8′

emulator: could not find virtual device name: ‘Android2.2-APILevel8′

Fear not, I have found a solution.

The problem caused by the way Android SDK read the User directory. Directory .android (the place for setting and AVD kept) are read from different places. The method first read from the registry and the other one read from the Environtment Variable. For the tools to function, we need to create an NTFS Junction for the directory. Directory .android remains on one location but is considered by the system to be in two places. Therefore it doesn’t matter where Android SDK access the configuration, it’s still the same directory.

Here’s how we fix it :

Users Default directory: C:\User\Rudra (you can change this to your user name)

Users directory which has been moved (so it might affect Envoirontment Variable and Registry): D:\Rudra

From command prompt (Start Menu > Accessories > Command Prompt) :

C:\Users\Rudra>mklink

Creates a symbolic link.

MKLINK [[/D] | [/H] | [/J]] Link Target

/D Creates a directory symbolic link. Default is a file
symbolic link.

/H Creates a hard link instead of a symbolic link.

/J Creates a Directory Junction.

Link specifies the new symbolic link name.

Target specifies the path (relative or absolute) that the new link
refers to.

C:\Users\Rudra>mklink /J .android D:\Rudra\.android

Junction created for .android <<===>> D:\Rudra\.android

Look in  directory C:\Users\Rudra,  there will be a symbolic link .android that point to D:\Rudra\.android.

Now your Android SDK should be functioning correctly. Have fun! :)

Share

No related posts.


2 Responses  
  • tips trik komputer writes:
    Februari 6th, 201120:43at

    waduh kak.. android ni pake bahasa apa yah

  • Rudra writes:
    Februari 6th, 201122:13at

    Pakai bahasa java. Tetapi libraries nya sebagian besar dari android nya sendiri


Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

SIDEBAR
»
S
I
D
E
B
A
R
«
»  Substance:WordPress   »  Style:Ahren Ahimsa
© Hak cipta untaiankisah.web.id.