Solved

Android Virtual Machines not working

Posted on 2011-02-15
5
721 Views
Last Modified: 2012-06-27
HI

I am really new to this so please bear with me

i have the android SDK installed and Eclips and all this works fine but when i try and run the VM to test it it does not work and says it can't find the VM

it is no a windows machine and my desktop is setup on a server so my VM's root directory is
\\(server)\desktop\(user)\.android\avd\

i have tryed doing the fixes on the android site to move the VM but every time i alter the system it puts it back to the orgnal folder

so my question is

is there a file some where on my windows PC that has this setting and there for can i reset it to sat c:\avd to see if it works there i ahve looked and can't find it my self as of yet
0
Comment
Question by:TestieMcTest
  • 3
  • 2
5 Comments
 
LVL 17

Expert Comment

by:Dejan Pažin
ID: 34896697

I had similar issues with the avds. At the end it turned out I had some letters in the path of the avd that are no good (I checked the file where the path is and saw that the characters were wrong).

Try launching the avd from the sdk manager, to see if it runs. If it does run, then the problem is elsewhere.

If you can not run the avd from the sdk manager, then you should try to install the Android sdk again and watch for those paths to not have funny letter.
0
 

Author Comment

by:TestieMcTest
ID: 34907038
I have tryed re installing the app and there are no options to reset the avd save path as part of the install process is there a way to set it with a dos command
0
 
LVL 17

Accepted Solution

by:
Dejan Pažin earned 500 total points
ID: 34907190

You can set the path using the command line tool (see more here: http://developer.android.com/guide/developing/tools/avd.html):


android create avd -n my_android1.5 -t 2 -p path/to/my/avd


After you do this, go to your sdk tool and click refresh (or start the sdk tool if it was not started already). You should see the my_android1.5 there - try to start it.

Also, to confirm that the problem is in the path, you should try to start the avd from your sdk, it should say this:

emulator: ERROR: no search paths found in this AVD's configuration.
Weird, the AVD's config.ini file is malformed. Try re-creating it.

Then you know that the problem is in the path characters.
0
 

Author Comment

by:TestieMcTest
ID: 35129821
every time i make the AVD it wants to put it on my mapped network drive and it wont change it even if i do it in command line it shows as on my mapped drive as we have our desktops as a central drive i will have to wait for google to change the installer so you can move the path unless  some knows where it is in the reg
0
 
LVL 17

Expert Comment

by:Dejan Pažin
ID: 35130187

You should check the files which get created to see if there are correct paths to the avd.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Once again I push the limits of my phone.  An introduction to the Android Google Now Launcher.
Displaying an arrayList in a listView using the default adapter is rarely the best solution. To get full control of your display data, and to be able to refresh it after editing, requires the use of a custom adapter.
This video is in connection to the article "The case of a missing mobile phone (https://www.experts-exchange.com/articles/28474/The-Case-of-a-Missing-Mobile-Phone.html)". It will help one to understand clearly the steps to track a lost android phone.
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now