Solved

Android Virtual Machines not working

Posted on 2011-02-15
5
743 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction This article is a continuation of Part-1 as evident from the title. Please visit this page (http://www.experts-exchange.com/articles/18706/Backing-up-personal-data-on-your-Android-device-Part-1.html) to read the earlier Part -1. If y…
In this article we will discuss all things related to StageFright bug, the most vulnerable bug of android devices.
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.
This video demonstrates how to sync Microsoft Exchange Public Folders with smartphones using CodeTwo Exchange Sync and Exchange ActiveSync. To learn more about CodeTwo Exchange Sync and download the free trial, go to: http://www.codetwo.com/excha…

733 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