It's a very nice phone, it runs Android 1.6, but I'm still impressed with it.
So, I decided to make things for my phone and downloaded the latest Android SDK from Google.
My environment is a Windows 7 and everything installed fine.
But I had an issue after trying to start an AVD (Android Virtual Device) after pushing the "Start..." on "Android SDK and AVD Manager".
Every time I try to start the AVD, it returns me a error:
emulator: ERROR: unknown virtual device name: 'Test21'
emulator: could not find virtual device named 'Test21'
Trying to solve the problem, I checked the folder where the .avd files are in, and the "Test21.avd" was there!
Trying to search for help on Google, a lot of people has this issue too, but the advanced users can't help them, because the environment of them is Linux (ok, I know)
I have the latest Ubuntu on my computer too, but I wanted to resolve the issue, not only blame Windows 7 for this and turn back from the problem.
Ok, what I found:
- AVD Manager creates the .avd file on your Home folder (eg.: My home folder is "D:\Users\Philber\.android\avd")
- The Android emulator searchs for the .avd file on your home folder, BUT on the wrong drive! ("C:\Users\Philber\.android\avd")
So, it'll happens with everyone which has the home folders on a different drive from C:
What I did to fix it? I copied the .avd files do C:
Maybe there is another way to solve this problem, but I already lost 1 hour to start doing something because of this.
Well, I hope someone find this helpfull.
Update: You can add an environment variable
ANDROID_SDK_HOME=D:\Users\Philber\
This solve the issue, too.