[android-beginners] Re: Infinite Error: I fixed Failed to find an AVD compatible, only to get ERROR: unknown virtual device name

2009-06-11 Thread Keynan

I am also having this issue. Mind you I have a hacky solution.

QUICK FIX: create a AVD command line. Copy the /.android/ directory
into your home directory.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Infinite Error: I fixed Failed to find an AVD compatible, only to get ERROR: unknown virtual device name

2009-06-11 Thread yoelcicli...@gmail.com

Hi all,

I have the same problem but under windows XP. Do you have an idea
about how to solve the problem?

Thanks

On Jun 11, 6:19 am, Keynan keyna...@gmail.com wrote:
 I am also having this issue. Mind you I have a hacky solution.

 QUICK FIX: create a AVD command line. Copy the /.android/ directory
 into your home directory.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Infinite Error: I fixed Failed to find an AVD compatible, only to get ERROR: unknown virtual device name

2009-04-28 Thread borghild.hedda

Hi,

I have a new computer installed a fresh vista on it, downloaded
eclipse, google android sdk 1.5, and plugin for eclipse for android.
When I try to run my project that worked before I get:
Failed to find an AVD compatible with target 'Android 1.1'. Launch
aborted.

I didn't change my home folder and all env variables are ok.
Right click on project -- properties -- Project build target is:
Android 1.1

Anything else I should check or do?
I don't think I did something wrong because this is just a clean
computer...

Thanks

Borghild

On Apr 25, 11:16 am, Xavier Duc rohet x...@android.com wrote:
 Is C:\Users\Public\ your real HOME folder?

 If you go in a command prompt and run set what are the values of the
 various env variable representing your HOME (specifically look for
 HOMEDRIVE, HOMEPATH, LOCALAPPDATA, USERPROFILE)

 Another user on these groups had moved his HOME folder but the env
 variable still pointed to the default location, which is what the
 emulator uses.
 Somehow though, Java (the android tool is a java tool) used the new
 HOME location, and thus the emulator looked for AVDs in a different
 folder than where they were created.

 If this is the case for you as well, you can define a new env variable
 called ANDROID_SDK_HOME pointing to a folder of your choice. This will
 override the default behavior of the android tool and of the
 emulator (as well as DDMS), and create a .android/ folder in this
 folder of your choice, and in it, the avd/ folder.

 Xav



 On Fri, Apr 24, 2009 at 10:13 PM, Andrex emailofand...@gmail.com wrote:

  I've been developing for android since the first SDK came out, and
  have downloaded every early preview one after that- m3, m5, 0.9, 1.0,
  1.1, and now the 1.5pre. This latest one is the only one to give me
  trouble.

  When I first tried to launch a simple program, the error Failed to
  find an AVD compatible with target 'Android 1.5'. Launch aborted.
  popped up. So, I used codeandroid create avd -n my_avd -t 2/code.
  When the prompt Do you wish to create a custom hardware profile [no]
  came up, I just hit enter (and once I typed no and hit enter).

  Great. But then when I reran the program, it gave me the exceptions
  (as it wasn't in red):

  code[2009-04-25 01:00:24 - Emulator] emulator: ERROR: unknown
  virtual device name: 'my_avd'
  [2009-04-25 01:00:24 - Emulator] emulator: could not find virtual
  device named 'my_avd'/code

  I moved the avd files around to various places- the tools folder, the
  project folder in the Eclipse workplace folder, the SDK director
  itself... no dice. When I delete the AVD, it gives me the first error
  again.

  Thus, I completely wiped Android and Eclipse from my system, and re-
  installed fresh (this means the Eclipse install, the Eclipse and
  Android workspaces, the SDK, etc.) Only thing I didn't delete was the
  shortcuts. But I was back at square one again.

  So, I turn to you, ever eager-to-help Google Groups. Some technical
  info that might be of help:

  Windows Vista 32-bit
  Eclipse 3.4 Ganymede
  Android SDK 1.5pre

  Android Workspace: C:\Users\Public\.android
  AVDs Created At: C:\Users\Public\.android\avd
  Eclipse Workspace: C:\Users\Public\Eclipse Workspace

  Eclipse Directory: C:\Program Files\Eclipse
  SDK Directory: C:\Program Files\Eclipse\android-sdk-windows-1.5_pre

 --
 Xavier Ducrohet
 Android Developer Tools Engineer
 Google Inc.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Infinite Error: I fixed Failed to find an AVD compatible, only to get ERROR: unknown virtual device name

2009-04-28 Thread borghild.hedda

sorry silly mistake of mine i had to create an avd with command line
it works

On Apr 25, 10:16 pm, Xavier Ducrohet x...@android.com wrote:
 You can make it whatever you want, but yes, I would recomment you
 point it to C:\Users\Public\ so that it reuse the already existing
 .android/ folder.
 (don't make it point to C:\Users\Public\.android as it will create
 another .android folder inside it)

 Xav



 On Sat, Apr 25, 2009 at 9:31 AM, Andrex emailofand...@gmail.com wrote:

  Yeah I had read about the guy with the mixed up D and C folders.

  My HomePath is \Users\Name, so I guess somewhere down the line I did
  mess things up a little. Can the ANDROID_SDK_HOME variable be
  anywhere, even the old .android/ folder? (C:\Users\Public\.android)

  On Apr 25, 4:16 am, Xavier Ducrohet x...@android.com wrote:
  Is C:\Users\Public\ your real HOME folder?

  If you go in a command prompt and run set what are the values of the
  various env variable representing your HOME (specifically look for
  HOMEDRIVE, HOMEPATH, LOCALAPPDATA, USERPROFILE)

  Another user on these groups had moved his HOME folder but the env
  variable still pointed to the default location, which is what the
  emulator uses.
  Somehow though, Java (the android tool is a java tool) used the new
  HOME location, and thus the emulator looked for AVDs in a different
  folder than where they were created.

  If this is the case for you as well, you can define a new env variable
  called ANDROID_SDK_HOME pointing to a folder of your choice. This will
  override the default behavior of the android tool and of the
  emulator (as well as DDMS), and create a .android/ folder in this
  folder of your choice, and in it, the avd/ folder.

  Xav

  On Fri, Apr 24, 2009 at 10:13 PM, Andrex emailofand...@gmail.com wrote:

   I've been developing for android since the first SDK came out, and
   have downloaded every early preview one after that- m3, m5, 0.9, 1.0,
   1.1, and now the 1.5pre. This latest one is the only one to give me
   trouble.

   When I first tried to launch a simple program, the error Failed to
   find an AVD compatible with target 'Android 1.5'. Launch aborted.
   popped up. So, I used codeandroid create avd -n my_avd -t 2/code.
   When the prompt Do you wish to create a custom hardware profile [no]
   came up, I just hit enter (and once I typed no and hit enter).

   Great. But then when I reran the program, it gave me the exceptions
   (as it wasn't in red):

   code[2009-04-25 01:00:24 - Emulator] emulator: ERROR: unknown
   virtual device name: 'my_avd'
   [2009-04-25 01:00:24 - Emulator] emulator: could not find virtual
   device named 'my_avd'/code

   I moved the avd files around to various places- the tools folder, the
   project folder in the Eclipse workplace folder, the SDK director
   itself... no dice. When I delete the AVD, it gives me the first error
   again.

   Thus, I completely wiped Android and Eclipse from my system, and re-
   installed fresh (this means the Eclipse install, the Eclipse and
   Android workspaces, the SDK, etc.) Only thing I didn't delete was the
   shortcuts. But I was back at square one again.

   So, I turn to you, ever eager-to-help Google Groups. Some technical
   info that might be of help:

   Windows Vista 32-bit
   Eclipse 3.4 Ganymede
   Android SDK 1.5pre

   Android Workspace: C:\Users\Public\.android
   AVDs Created At: C:\Users\Public\.android\avd
   Eclipse Workspace: C:\Users\Public\Eclipse Workspace

   Eclipse Directory: C:\Program Files\Eclipse
   SDK Directory: C:\Program Files\Eclipse\android-sdk-windows-1.5_pre

  --
  Xavier Ducrohet
  Android Developer Tools Engineer
  Google Inc.

 --
 Xavier Ducrohet
 Android Developer Tools Engineer
 Google Inc.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Infinite Error: I fixed Failed to find an AVD compatible, only to get ERROR: unknown virtual device name

2009-04-27 Thread leonwale

Hey Andrex,

I'm totally new with Android and program developing, but I really want
to learn much more about both!

Today I have downloaded SDK 1.5 and Eclips 3.4.

But I am having the same program as you, I wrote a simple program,
wanted to run it but it gave me the
same message:  Failed to find anAVDcompatible with target 'Android
1.5'. Launch aborted.

How can I create an AVD, what is an AVD and where are you filling in
the codes you are talking
about? By example:
 So, I used codeandroidcreateavd-n my_avd -t 2/code

I hope you can help me!

Greatz

By the way, Im using Windows Vista 32bit! (maybe it make sense)

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Infinite Error: I fixed Failed to find an AVD compatible, only to get ERROR: unknown virtual device name

2009-04-25 Thread Jack Ha (T-Mobile USA)

You shouldn't move the AVD files around.

What's the SDK Target setting for your project? You can find out by
bringing up the Properties dialog box and select Android.

Since you created a target 2 AVD, you should set the SDK Target for
your project to Android 1.5.

Also double check the Target setting in the Run Configurations dialog
box.


--
Jack Ha
Open Source Development Center
・T・ ・ ・Mobile・ stick together

The views, opinions and statements in this email are those of
the author solely in their individual capacity, and do not
necessarily represent those of T-Mobile USA, Inc.


On Apr 24, 10:13 pm, Andrex emailofand...@gmail.com wrote:
 I've been developing for android since the first SDK came out, and
 have downloaded every early preview one after that- m3, m5, 0.9, 1.0,
 1.1, and now the 1.5pre. This latest one is the only one to give me
 trouble.

 When I first tried to launch a simple program, the error Failed to
 find an AVD compatible with target 'Android 1.5'. Launch aborted.
 popped up. So, I used codeandroid create avd -n my_avd -t 2/code.
 When the prompt Do you wish to create a custom hardware profile [no]
 came up, I just hit enter (and once I typed no and hit enter).

 Great. But then when I reran the program, it gave me the exceptions
 (as it wasn't in red):

 code[2009-04-25 01:00:24 - Emulator] emulator: ERROR: unknown
 virtual device name: 'my_avd'
 [2009-04-25 01:00:24 - Emulator] emulator: could not find virtual
 device named 'my_avd'/code

 I moved the avd files around to various places- the tools folder, the
 project folder in the Eclipse workplace folder, the SDK director
 itself... no dice. When I delete the AVD, it gives me the first error
 again.

 Thus, I completely wiped Android and Eclipse from my system, and re-
 installed fresh (this means the Eclipse install, the Eclipse and
 Android workspaces, the SDK, etc.) Only thing I didn't delete was the
 shortcuts. But I was back at square one again.

 So, I turn to you, ever eager-to-help Google Groups. Some technical
 info that might be of help:

 Windows Vista 32-bit
 Eclipse 3.4 Ganymede
 Android SDK 1.5pre

 Android Workspace: C:\Users\Public\.android
 AVDs Created At: C:\Users\Public\.android\avd
 Eclipse Workspace: C:\Users\Public\Eclipse Workspace

 Eclipse Directory: C:\Program Files\Eclipse
 SDK Directory: C:\Program Files\Eclipse\android-sdk-windows-1.5_pre
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Infinite Error: I fixed Failed to find an AVD compatible, only to get ERROR: unknown virtual device name

2009-04-25 Thread Xavier Ducrohet

Is C:\Users\Public\ your real HOME folder?

If you go in a command prompt and run set what are the values of the
various env variable representing your HOME (specifically look for
HOMEDRIVE, HOMEPATH, LOCALAPPDATA, USERPROFILE)

Another user on these groups had moved his HOME folder but the env
variable still pointed to the default location, which is what the
emulator uses.
Somehow though, Java (the android tool is a java tool) used the new
HOME location, and thus the emulator looked for AVDs in a different
folder than where they were created.

If this is the case for you as well, you can define a new env variable
called ANDROID_SDK_HOME pointing to a folder of your choice. This will
override the default behavior of the android tool and of the
emulator (as well as DDMS), and create a .android/ folder in this
folder of your choice, and in it, the avd/ folder.

Xav

On Fri, Apr 24, 2009 at 10:13 PM, Andrex emailofand...@gmail.com wrote:

 I've been developing for android since the first SDK came out, and
 have downloaded every early preview one after that- m3, m5, 0.9, 1.0,
 1.1, and now the 1.5pre. This latest one is the only one to give me
 trouble.

 When I first tried to launch a simple program, the error Failed to
 find an AVD compatible with target 'Android 1.5'. Launch aborted.
 popped up. So, I used codeandroid create avd -n my_avd -t 2/code.
 When the prompt Do you wish to create a custom hardware profile [no]
 came up, I just hit enter (and once I typed no and hit enter).

 Great. But then when I reran the program, it gave me the exceptions
 (as it wasn't in red):

 code[2009-04-25 01:00:24 - Emulator] emulator: ERROR: unknown
 virtual device name: 'my_avd'
 [2009-04-25 01:00:24 - Emulator] emulator: could not find virtual
 device named 'my_avd'/code

 I moved the avd files around to various places- the tools folder, the
 project folder in the Eclipse workplace folder, the SDK director
 itself... no dice. When I delete the AVD, it gives me the first error
 again.

 Thus, I completely wiped Android and Eclipse from my system, and re-
 installed fresh (this means the Eclipse install, the Eclipse and
 Android workspaces, the SDK, etc.) Only thing I didn't delete was the
 shortcuts. But I was back at square one again.

 So, I turn to you, ever eager-to-help Google Groups. Some technical
 info that might be of help:

 Windows Vista 32-bit
 Eclipse 3.4 Ganymede
 Android SDK 1.5pre

 Android Workspace: C:\Users\Public\.android
 AVDs Created At: C:\Users\Public\.android\avd
 Eclipse Workspace: C:\Users\Public\Eclipse Workspace

 Eclipse Directory: C:\Program Files\Eclipse
 SDK Directory: C:\Program Files\Eclipse\android-sdk-windows-1.5_pre
 




-- 
Xavier Ducrohet
Android Developer Tools Engineer
Google Inc.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Infinite Error: I fixed Failed to find an AVD compatible, only to get ERROR: unknown virtual device name

2009-04-25 Thread Andrex

Yeah I had read about the guy with the mixed up D and C folders.

My HomePath is \Users\Name, so I guess somewhere down the line I did
mess things up a little. Can the ANDROID_SDK_HOME variable be
anywhere, even the old .android/ folder? (C:\Users\Public\.android)

On Apr 25, 4:16 am, Xavier Ducrohet x...@android.com wrote:
 Is C:\Users\Public\ your real HOME folder?

 If you go in a command prompt and run set what are the values of the
 various env variable representing your HOME (specifically look for
 HOMEDRIVE, HOMEPATH, LOCALAPPDATA, USERPROFILE)

 Another user on these groups had moved his HOME folder but the env
 variable still pointed to the default location, which is what the
 emulator uses.
 Somehow though, Java (the android tool is a java tool) used the new
 HOME location, and thus the emulator looked for AVDs in a different
 folder than where they were created.

 If this is the case for you as well, you can define a new env variable
 called ANDROID_SDK_HOME pointing to a folder of your choice. This will
 override the default behavior of the android tool and of the
 emulator (as well as DDMS), and create a .android/ folder in this
 folder of your choice, and in it, the avd/ folder.

 Xav





 On Fri, Apr 24, 2009 at 10:13 PM, Andrex emailofand...@gmail.com wrote:

  I've been developing for android since the first SDK came out, and
  have downloaded every early preview one after that- m3, m5, 0.9, 1.0,
  1.1, and now the 1.5pre. This latest one is the only one to give me
  trouble.

  When I first tried to launch a simple program, the error Failed to
  find an AVD compatible with target 'Android 1.5'. Launch aborted.
  popped up. So, I used codeandroid create avd -n my_avd -t 2/code.
  When the prompt Do you wish to create a custom hardware profile [no]
  came up, I just hit enter (and once I typed no and hit enter).

  Great. But then when I reran the program, it gave me the exceptions
  (as it wasn't in red):

  code[2009-04-25 01:00:24 - Emulator] emulator: ERROR: unknown
  virtual device name: 'my_avd'
  [2009-04-25 01:00:24 - Emulator] emulator: could not find virtual
  device named 'my_avd'/code

  I moved the avd files around to various places- the tools folder, the
  project folder in the Eclipse workplace folder, the SDK director
  itself... no dice. When I delete the AVD, it gives me the first error
  again.

  Thus, I completely wiped Android and Eclipse from my system, and re-
  installed fresh (this means the Eclipse install, the Eclipse and
  Android workspaces, the SDK, etc.) Only thing I didn't delete was the
  shortcuts. But I was back at square one again.

  So, I turn to you, ever eager-to-help Google Groups. Some technical
  info that might be of help:

  Windows Vista 32-bit
  Eclipse 3.4 Ganymede
  Android SDK 1.5pre

  Android Workspace: C:\Users\Public\.android
  AVDs Created At: C:\Users\Public\.android\avd
  Eclipse Workspace: C:\Users\Public\Eclipse Workspace

  Eclipse Directory: C:\Program Files\Eclipse
  SDK Directory: C:\Program Files\Eclipse\android-sdk-windows-1.5_pre

 --
 Xavier Ducrohet
 Android Developer Tools Engineer
 Google Inc.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Infinite Error: I fixed Failed to find an AVD compatible, only to get ERROR: unknown virtual device name

2009-04-25 Thread Xavier Ducrohet

You can make it whatever you want, but yes, I would recomment you
point it to C:\Users\Public\ so that it reuse the already existing
.android/ folder.
(don't make it point to C:\Users\Public\.android as it will create
another .android folder inside it)

Xav

On Sat, Apr 25, 2009 at 9:31 AM, Andrex emailofand...@gmail.com wrote:

 Yeah I had read about the guy with the mixed up D and C folders.

 My HomePath is \Users\Name, so I guess somewhere down the line I did
 mess things up a little. Can the ANDROID_SDK_HOME variable be
 anywhere, even the old .android/ folder? (C:\Users\Public\.android)

 On Apr 25, 4:16 am, Xavier Ducrohet x...@android.com wrote:
 Is C:\Users\Public\ your real HOME folder?

 If you go in a command prompt and run set what are the values of the
 various env variable representing your HOME (specifically look for
 HOMEDRIVE, HOMEPATH, LOCALAPPDATA, USERPROFILE)

 Another user on these groups had moved his HOME folder but the env
 variable still pointed to the default location, which is what the
 emulator uses.
 Somehow though, Java (the android tool is a java tool) used the new
 HOME location, and thus the emulator looked for AVDs in a different
 folder than where they were created.

 If this is the case for you as well, you can define a new env variable
 called ANDROID_SDK_HOME pointing to a folder of your choice. This will
 override the default behavior of the android tool and of the
 emulator (as well as DDMS), and create a .android/ folder in this
 folder of your choice, and in it, the avd/ folder.

 Xav





 On Fri, Apr 24, 2009 at 10:13 PM, Andrex emailofand...@gmail.com wrote:

  I've been developing for android since the first SDK came out, and
  have downloaded every early preview one after that- m3, m5, 0.9, 1.0,
  1.1, and now the 1.5pre. This latest one is the only one to give me
  trouble.

  When I first tried to launch a simple program, the error Failed to
  find an AVD compatible with target 'Android 1.5'. Launch aborted.
  popped up. So, I used codeandroid create avd -n my_avd -t 2/code.
  When the prompt Do you wish to create a custom hardware profile [no]
  came up, I just hit enter (and once I typed no and hit enter).

  Great. But then when I reran the program, it gave me the exceptions
  (as it wasn't in red):

  code[2009-04-25 01:00:24 - Emulator] emulator: ERROR: unknown
  virtual device name: 'my_avd'
  [2009-04-25 01:00:24 - Emulator] emulator: could not find virtual
  device named 'my_avd'/code

  I moved the avd files around to various places- the tools folder, the
  project folder in the Eclipse workplace folder, the SDK director
  itself... no dice. When I delete the AVD, it gives me the first error
  again.

  Thus, I completely wiped Android and Eclipse from my system, and re-
  installed fresh (this means the Eclipse install, the Eclipse and
  Android workspaces, the SDK, etc.) Only thing I didn't delete was the
  shortcuts. But I was back at square one again.

  So, I turn to you, ever eager-to-help Google Groups. Some technical
  info that might be of help:

  Windows Vista 32-bit
  Eclipse 3.4 Ganymede
  Android SDK 1.5pre

  Android Workspace: C:\Users\Public\.android
  AVDs Created At: C:\Users\Public\.android\avd
  Eclipse Workspace: C:\Users\Public\Eclipse Workspace

  Eclipse Directory: C:\Program Files\Eclipse
  SDK Directory: C:\Program Files\Eclipse\android-sdk-windows-1.5_pre

 --
 Xavier Ducrohet
 Android Developer Tools Engineer
 Google Inc.
 




-- 
Xavier Ducrohet
Android Developer Tools Engineer
Google Inc.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---