Re: Emulator v1.5
Thanks Xav, I'll give this a try a bit later when I get a chance. im.thatoneguy - In Windows Vista, go to System (from Control Panel), click Advanced System Settings, Advanced tab, Environment Variables. Then add a new System Variable. XP is similar. On Apr 20, 6:39 pm, "im.thatoneguy" wrote: > Where do you set this variable? An ini file? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "android-framework" group. To post to this group, send email to android-framework@googlegroups.com To unsubscribe from this group, send email to android-framework+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-framework?hl=en -~--~~~~--~~--~--~---
Re: Emulator v1.5
Where do you set this variable? An ini file? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "android-framework" group. To post to this group, send email to android-framework@googlegroups.com To unsubscribe from this group, send email to android-framework+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-framework?hl=en -~--~~~~--~~--~--~---
Re: Emulator v1.5
Well, it looks like your install still thinks that your home folder is in C:\Users\... (look at HOMEDRIVE, HOMEPATH, LOCALAPPDATA, USERPROFILE, ...) To be honest I'm not sure how Java thinks your home directory is in your D:\ drive. Anyway, the fix is to define a new env variable called ANDROID_SDK_HOME that points to your home directory on D:\ where the .android file is located. This will override the default path lookup for the emulator (and the java tools, but they already use the proper HOME directory anyway), and should fix your problem. Xav On Mon, Apr 20, 2009 at 2:26 PM, Noah wrote: > > Ah, now I feel stupid, I figured it was a command with the emulator :) > Anyway, here are all the environment variables: > > C:\Users\Noah>set > ALLUSERSPROFILE=C:\ProgramData > APPDATA=C:\Users\Noah\AppData\Roaming > CLASSPATH=.;C:\Program Files (x86)\QuickTime\QTSystem\QTJava.zip > CommonProgramFiles=C:\Program Files\Common Files > CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files > COMPUTERNAME=THOR > ComSpec=C:\Windows\system32\cmd.exe > FP_NO_HOST_CHECK=NO > HOMEDRIVE=C: > HOMEPATH=\Users\Noah > LOCALAPPDATA=C:\Users\Noah\AppData\Local > LOGONSERVER=\\THOR > NUMBER_OF_PROCESSORS=4 > OS=Windows_NT > Path=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C: > \Program Files (x86)\Microsoft SQL Server\90\Tools\binn\;C:\Program > Files (x86)\QuickTime\QTSystem\;C:\Windows\System32\WindowsPowerShell > \v1.0\ > PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC > PROCESSOR_ARCHITECTURE=AMD64 > PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 23 Stepping 7, > GenuineIntel > PROCESSOR_LEVEL=6 > PROCESSOR_REVISION=1707 > ProgramData=C:\ProgramData > ProgramFiles=C:\Program Files > ProgramFiles(x86)=C:\Program Files (x86) > PROMPT=$P$G > PUBLIC=C:\Users\Public > QTJAVA=C:\Program Files (x86)\QuickTime\QTSystem\QTJava.zip > SESSIONNAME=Console > SystemDrive=C: > SystemRoot=C:\Windows > TEMP=C:\Users\Noah\AppData\Local\Temp > TMP=C:\Users\Noah\AppData\Local\Temp > USERDOMAIN=Thor > USERNAME=Noah > USERPROFILE=C:\Users\Noah > VS90COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio > 9.0\Common7\Tools\ > windir=C:\Windows > > On Apr 20, 5:16 pm, Xavier Ducrohet wrote: >> Just open a windows command prompt, and type "set" :) >> >> thanks, >> Xav >> >> >> >> On Mon, Apr 20, 2009 at 2:12 PM, Noah wrote: >> >> > Sure. I'm new to Android development and have only gone through >> > getting the emulator and Eclipse set up. If you can be more specific >> > about what commands you would like me to run, I will post the results >> > for you. >> >> > Thanks >> >> > On Apr 20, 2:04 pm, Xavier Ducrohet wrote: >> >> Hi Noah, >> >> >> can you send me the result of the "set" command in a command prompt. >> >> I'd like to see how the new path to your user directory is setup to >> >> figure out what is going wrong with emulator. >> >> >> thanks >> >> Xav >> >> >> On Sun, Apr 19, 2009 at 7:39 PM, Noah wrote: >> >> >> > Yes, I am running Vista x64. I have also manually moved directories >> >> > like Documents, Music, etc from the C drive to D, in case it was >> >> > picking up something there. >> >> >> > Also, strangely enough, the emulator worked after copying the files to >> >> > C but saved emulator-user.ini and other *.img files to the location on >> >> > D. >> >> >> > The locations are: >> >> > C:\Users\Noah\.android\avd >> >> > D:\Profile\.android\avd (Profile being where I chose to move my >> >> > documents) >> >> >> > If you need more information, please let me know. >> >> >> > Thanks >> >> >> > On Apr 19, 5:57 pm, Xavier Ducrohet wrote: >> >> >> Hi Noah, >> >> >> >> It looks like the Java API used by the Android tool to return the home >> >> >> user folder properly found it in D:\... >> >> >> >> However, the C API used by the emulator seems to return the wrong one >> >> >> (using the default C:\User\XXX) >> >> >> >> We'll have to see if/how we can fix this. From the path you mention, >> >> >> I'm guessing you are running Vista? >> >> >> >> Were the AVD files properly located under /.android/.avd/ at >> >> >> least? >> >> >> >> thanks >> >> >> Xav >> >> >> >> On Sun, Apr 19, 2009 at 11:14 AM, Noah wrote: >> >> >> >> > I am having the same issue. Running that command gave me the >> >> >> > following: >> >> >> >> > emulator: could not open .ini file: C:\Users\\.android/avd/ >> >> >> > TestAVD.ini: No such file or directory >> >> >> > emulator: ERROR: unknown virtual device name: 'TestAVD' >> >> >> > emulator: could not find virtual device named 'TestAVD' >> >> >> >> > The android batch file created the AVD on D:. I copied the files to >> >> >> > C: >> >> >> > where it's expecting them and I guess I'll have to remember that when >> >> >> > running commands. Should also probably be a bug to look into. >> >> >> >> > The SDK in on D as is my Users directory. >> >> >> >> > Thanks. >> >> >> >> > On Apr 15, 2:44 am, Raphael wrote: >> >> >> >> Can you start the emulator with the following debug opt
Re: Emulator v1.5
Ah, now I feel stupid, I figured it was a command with the emulator :) Anyway, here are all the environment variables: C:\Users\Noah>set ALLUSERSPROFILE=C:\ProgramData APPDATA=C:\Users\Noah\AppData\Roaming CLASSPATH=.;C:\Program Files (x86)\QuickTime\QTSystem\QTJava.zip CommonProgramFiles=C:\Program Files\Common Files CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files COMPUTERNAME=THOR ComSpec=C:\Windows\system32\cmd.exe FP_NO_HOST_CHECK=NO HOMEDRIVE=C: HOMEPATH=\Users\Noah LOCALAPPDATA=C:\Users\Noah\AppData\Local LOGONSERVER=\\THOR NUMBER_OF_PROCESSORS=4 OS=Windows_NT Path=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C: \Program Files (x86)\Microsoft SQL Server\90\Tools\binn\;C:\Program Files (x86)\QuickTime\QTSystem\;C:\Windows\System32\WindowsPowerShell \v1.0\ PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC PROCESSOR_ARCHITECTURE=AMD64 PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 23 Stepping 7, GenuineIntel PROCESSOR_LEVEL=6 PROCESSOR_REVISION=1707 ProgramData=C:\ProgramData ProgramFiles=C:\Program Files ProgramFiles(x86)=C:\Program Files (x86) PROMPT=$P$G PUBLIC=C:\Users\Public QTJAVA=C:\Program Files (x86)\QuickTime\QTSystem\QTJava.zip SESSIONNAME=Console SystemDrive=C: SystemRoot=C:\Windows TEMP=C:\Users\Noah\AppData\Local\Temp TMP=C:\Users\Noah\AppData\Local\Temp USERDOMAIN=Thor USERNAME=Noah USERPROFILE=C:\Users\Noah VS90COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\Tools\ windir=C:\Windows On Apr 20, 5:16 pm, Xavier Ducrohet wrote: > Just open a windows command prompt, and type "set" :) > > thanks, > Xav > > > > On Mon, Apr 20, 2009 at 2:12 PM, Noah wrote: > > > Sure. I'm new to Android development and have only gone through > > getting the emulator and Eclipse set up. If you can be more specific > > about what commands you would like me to run, I will post the results > > for you. > > > Thanks > > > On Apr 20, 2:04 pm, Xavier Ducrohet wrote: > >> Hi Noah, > > >> can you send me the result of the "set" command in a command prompt. > >> I'd like to see how the new path to your user directory is setup to > >> figure out what is going wrong with emulator. > > >> thanks > >> Xav > > >> On Sun, Apr 19, 2009 at 7:39 PM, Noah wrote: > > >> > Yes, I am running Vista x64. I have also manually moved directories > >> > like Documents, Music, etc from the C drive to D, in case it was > >> > picking up something there. > > >> > Also, strangely enough, the emulator worked after copying the files to > >> > C but saved emulator-user.ini and other *.img files to the location on > >> > D. > > >> > The locations are: > >> > C:\Users\Noah\.android\avd > >> > D:\Profile\.android\avd (Profile being where I chose to move my > >> > documents) > > >> > If you need more information, please let me know. > > >> > Thanks > > >> > On Apr 19, 5:57 pm, Xavier Ducrohet wrote: > >> >> Hi Noah, > > >> >> It looks like the Java API used by the Android tool to return the home > >> >> user folder properly found it in D:\... > > >> >> However, the C API used by the emulator seems to return the wrong one > >> >> (using the default C:\User\XXX) > > >> >> We'll have to see if/how we can fix this. From the path you mention, > >> >> I'm guessing you are running Vista? > > >> >> Were the AVD files properly located under /.android/.avd/ at > >> >> least? > > >> >> thanks > >> >> Xav > > >> >> On Sun, Apr 19, 2009 at 11:14 AM, Noah wrote: > > >> >> > I am having the same issue. Running that command gave me the > >> >> > following: > > >> >> > emulator: could not open .ini file: C:\Users\\.android/avd/ > >> >> > TestAVD.ini: No such file or directory > >> >> > emulator: ERROR: unknown virtual device name: 'TestAVD' > >> >> > emulator: could not find virtual device named 'TestAVD' > > >> >> > The android batch file created the AVD on D:. I copied the files to C: > >> >> > where it's expecting them and I guess I'll have to remember that when > >> >> > running commands. Should also probably be a bug to look into. > > >> >> > The SDK in on D as is my Users directory. > > >> >> > Thanks. > > >> >> > On Apr 15, 2:44 am, Raphael wrote: > >> >> >> Can you start the emulator with the following debug option? > > >> >> >> $ emulator -debug avd_config -avd android11 > > >> >> >> That will show us the exact error. > >> >> >> R. > > >> >> >> On Tue, Apr 14, 2009 at 3:30 PM, im.thatoneguy > >> >> >> wrote: > > >> >> >> > I created an AVD "Android11" > > >> >> >> > If I run "Android list avd" it lists "android11" as the first > >> >> >> > available AndroidVirtualDevices. > > >> >> >> > If I run > > >> >> >> > "Emulator -avd android11" > > >> >> >> > it gives me an error: > >> >> >> > " > >> >> >> > emulator: ERRORunknowndevicename: 'android11' > >> >> >> > emulator: could not find vritualdevicenamed 'android11' > >> >> >> > " > > >> >> >> > do I need to move the .android/avd/ folder somewhere specific for > >> >> >> > the > >> >> >> > emulator to see them? Android sees it just not em
Re: Emulator v1.5
Just open a windows command prompt, and type "set" :) thanks, Xav On Mon, Apr 20, 2009 at 2:12 PM, Noah wrote: > > Sure. I'm new to Android development and have only gone through > getting the emulator and Eclipse set up. If you can be more specific > about what commands you would like me to run, I will post the results > for you. > > Thanks > > On Apr 20, 2:04 pm, Xavier Ducrohet wrote: >> Hi Noah, >> >> can you send me the result of the "set" command in a command prompt. >> I'd like to see how the new path to your user directory is setup to >> figure out what is going wrong with emulator. >> >> thanks >> Xav >> >> >> >> On Sun, Apr 19, 2009 at 7:39 PM, Noah wrote: >> >> > Yes, I am running Vista x64. I have also manually moved directories >> > like Documents, Music, etc from the C drive to D, in case it was >> > picking up something there. >> >> > Also, strangely enough, the emulator worked after copying the files to >> > C but saved emulator-user.ini and other *.img files to the location on >> > D. >> >> > The locations are: >> > C:\Users\Noah\.android\avd >> > D:\Profile\.android\avd (Profile being where I chose to move my >> > documents) >> >> > If you need more information, please let me know. >> >> > Thanks >> >> > On Apr 19, 5:57 pm, Xavier Ducrohet wrote: >> >> Hi Noah, >> >> >> It looks like the Java API used by the Android tool to return the home >> >> user folder properly found it in D:\... >> >> >> However, the C API used by the emulator seems to return the wrong one >> >> (using the default C:\User\XXX) >> >> >> We'll have to see if/how we can fix this. From the path you mention, >> >> I'm guessing you are running Vista? >> >> >> Were the AVD files properly located under /.android/.avd/ at least? >> >> >> thanks >> >> Xav >> >> >> On Sun, Apr 19, 2009 at 11:14 AM, Noah wrote: >> >> >> > I am having the same issue. Running that command gave me the >> >> > following: >> >> >> > emulator: could not open .ini file: C:\Users\\.android/avd/ >> >> > TestAVD.ini: No such file or directory >> >> > emulator: ERROR: unknown virtual device name: 'TestAVD' >> >> > emulator: could not find virtual device named 'TestAVD' >> >> >> > The android batch file created the AVD on D:. I copied the files to C: >> >> > where it's expecting them and I guess I'll have to remember that when >> >> > running commands. Should also probably be a bug to look into. >> >> >> > The SDK in on D as is my Users directory. >> >> >> > Thanks. >> >> >> > On Apr 15, 2:44 am, Raphael wrote: >> >> >> Can you start the emulator with the following debug option? >> >> >> >> $ emulator -debug avd_config -avd android11 >> >> >> >> That will show us the exact error. >> >> >> R. >> >> >> >> On Tue, Apr 14, 2009 at 3:30 PM, im.thatoneguy >> >> >> wrote: >> >> >> >> > I created an AVD "Android11" >> >> >> >> > If I run "Android list avd" it lists "android11" as the first >> >> >> > available AndroidVirtualDevices. >> >> >> >> > If I run >> >> >> >> > "Emulator -avd android11" >> >> >> >> > it gives me an error: >> >> >> > " >> >> >> > emulator: ERRORunknowndevicename: 'android11' >> >> >> > emulator: could not find vritualdevicenamed 'android11' >> >> >> > " >> >> >> >> > do I need to move the .android/avd/ folder somewhere specific for the >> >> >> > emulator to see them? Android sees it just not emulator. >> >> >> -- >> >> Xavier Ducrohet >> >> Android Developer Tools Engineer >> >> Google Inc. >> >> -- >> 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-framework" group. To post to this group, send email to android-framework@googlegroups.com To unsubscribe from this group, send email to android-framework+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-framework?hl=en -~--~~~~--~~--~--~---
Re: Emulator v1.5
Sure. I'm new to Android development and have only gone through getting the emulator and Eclipse set up. If you can be more specific about what commands you would like me to run, I will post the results for you. Thanks On Apr 20, 2:04 pm, Xavier Ducrohet wrote: > Hi Noah, > > can you send me the result of the "set" command in a command prompt. > I'd like to see how the new path to your user directory is setup to > figure out what is going wrong with emulator. > > thanks > Xav > > > > On Sun, Apr 19, 2009 at 7:39 PM, Noah wrote: > > > Yes, I am running Vista x64. I have also manually moved directories > > like Documents, Music, etc from the C drive to D, in case it was > > picking up something there. > > > Also, strangely enough, the emulator worked after copying the files to > > C but saved emulator-user.ini and other *.img files to the location on > > D. > > > The locations are: > > C:\Users\Noah\.android\avd > > D:\Profile\.android\avd (Profile being where I chose to move my > > documents) > > > If you need more information, please let me know. > > > Thanks > > > On Apr 19, 5:57 pm, Xavier Ducrohet wrote: > >> Hi Noah, > > >> It looks like the Java API used by the Android tool to return the home > >> user folder properly found it in D:\... > > >> However, the C API used by the emulator seems to return the wrong one > >> (using the default C:\User\XXX) > > >> We'll have to see if/how we can fix this. From the path you mention, > >> I'm guessing you are running Vista? > > >> Were the AVD files properly located under /.android/.avd/ at least? > > >> thanks > >> Xav > > >> On Sun, Apr 19, 2009 at 11:14 AM, Noah wrote: > > >> > I am having the same issue. Running that command gave me the > >> > following: > > >> > emulator: could not open .ini file: C:\Users\\.android/avd/ > >> > TestAVD.ini: No such file or directory > >> > emulator: ERROR: unknown virtual device name: 'TestAVD' > >> > emulator: could not find virtual device named 'TestAVD' > > >> > The android batch file created the AVD on D:. I copied the files to C: > >> > where it's expecting them and I guess I'll have to remember that when > >> > running commands. Should also probably be a bug to look into. > > >> > The SDK in on D as is my Users directory. > > >> > Thanks. > > >> > On Apr 15, 2:44 am, Raphael wrote: > >> >> Can you start the emulator with the following debug option? > > >> >> $ emulator -debug avd_config -avd android11 > > >> >> That will show us the exact error. > >> >> R. > > >> >> On Tue, Apr 14, 2009 at 3:30 PM, im.thatoneguy > >> >> wrote: > > >> >> > I created an AVD "Android11" > > >> >> > If I run "Android list avd" it lists "android11" as the first > >> >> > available AndroidVirtualDevices. > > >> >> > If I run > > >> >> > "Emulator -avd android11" > > >> >> > it gives me an error: > >> >> > " > >> >> > emulator: ERRORunknowndevicename: 'android11' > >> >> > emulator: could not find vritualdevicenamed 'android11' > >> >> > " > > >> >> > do I need to move the .android/avd/ folder somewhere specific for the > >> >> > emulator to see them? Android sees it just not emulator. > > >> -- > >> 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-framework" group. To post to this group, send email to android-framework@googlegroups.com To unsubscribe from this group, send email to android-framework+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-framework?hl=en -~--~~~~--~~--~--~---
Re: Emulator v1.5
Hi Noah, can you send me the result of the "set" command in a command prompt. I'd like to see how the new path to your user directory is setup to figure out what is going wrong with emulator. thanks Xav On Sun, Apr 19, 2009 at 7:39 PM, Noah wrote: > > Yes, I am running Vista x64. I have also manually moved directories > like Documents, Music, etc from the C drive to D, in case it was > picking up something there. > > Also, strangely enough, the emulator worked after copying the files to > C but saved emulator-user.ini and other *.img files to the location on > D. > > The locations are: > C:\Users\Noah\.android\avd > D:\Profile\.android\avd (Profile being where I chose to move my > documents) > > If you need more information, please let me know. > > Thanks > > On Apr 19, 5:57 pm, Xavier Ducrohet wrote: >> Hi Noah, >> >> It looks like the Java API used by the Android tool to return the home >> user folder properly found it in D:\... >> >> However, the C API used by the emulator seems to return the wrong one >> (using the default C:\User\XXX) >> >> We'll have to see if/how we can fix this. From the path you mention, >> I'm guessing you are running Vista? >> >> Were the AVD files properly located under /.android/.avd/ at least? >> >> thanks >> Xav >> >> >> >> On Sun, Apr 19, 2009 at 11:14 AM, Noah wrote: >> >> > I am having the same issue. Running that command gave me the >> > following: >> >> > emulator: could not open .ini file: C:\Users\\.android/avd/ >> > TestAVD.ini: No such file or directory >> > emulator: ERROR: unknown virtual device name: 'TestAVD' >> > emulator: could not find virtual device named 'TestAVD' >> >> > The android batch file created the AVD on D:. I copied the files to C: >> > where it's expecting them and I guess I'll have to remember that when >> > running commands. Should also probably be a bug to look into. >> >> > The SDK in on D as is my Users directory. >> >> > Thanks. >> >> > On Apr 15, 2:44 am, Raphael wrote: >> >> Can you start the emulator with the following debug option? >> >> >> $ emulator -debug avd_config -avd android11 >> >> >> That will show us the exact error. >> >> R. >> >> >> On Tue, Apr 14, 2009 at 3:30 PM, im.thatoneguy >> >> wrote: >> >> >> > I created an AVD "Android11" >> >> >> > If I run "Android list avd" it lists "android11" as the first >> >> > available AndroidVirtualDevices. >> >> >> > If I run >> >> >> > "Emulator -avd android11" >> >> >> > it gives me an error: >> >> > " >> >> > emulator: ERRORunknowndevicename: 'android11' >> >> > emulator: could not find vritualdevicenamed 'android11' >> >> > " >> >> >> > do I need to move the .android/avd/ folder somewhere specific for the >> >> > emulator to see them? Android sees it just not emulator. >> >> -- >> 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-framework" group. To post to this group, send email to android-framework@googlegroups.com To unsubscribe from this group, send email to android-framework+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-framework?hl=en -~--~~~~--~~--~--~---
Re: Emulator v1.5
On Sun, Apr 19, 2009 at 7:39 PM, Noah wrote: > Also, strangely enough, the emulator worked after copying the files to > C but saved emulator-user.ini and other *.img files to the location on > D. That's because the content of .android/avd/ contains links to the data directory of the AVD. So .android/avd/.ini contains a link with the .avd folder which by default is in .android/avd/ as well. By moving the .ini you only made the emulator able to find the .avd folder in your D:\ folder instead of making it uses the one under C:\ This mechanism is to allow the user to specify any path for an AVD (at creation time) in case the home folder is on a network drive (or any other reasons). Xav --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "android-framework" group. To post to this group, send email to android-framework@googlegroups.com To unsubscribe from this group, send email to android-framework+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-framework?hl=en -~--~~~~--~~--~--~---
Re: Emulator v1.5
Yes, I am running Vista x64. I have also manually moved directories like Documents, Music, etc from the C drive to D, in case it was picking up something there. Also, strangely enough, the emulator worked after copying the files to C but saved emulator-user.ini and other *.img files to the location on D. The locations are: C:\Users\Noah\.android\avd D:\Profile\.android\avd(Profile being where I chose to move my documents) If you need more information, please let me know. Thanks On Apr 19, 5:57 pm, Xavier Ducrohet wrote: > Hi Noah, > > It looks like the Java API used by the Android tool to return the home > user folder properly found it in D:\... > > However, the C API used by the emulator seems to return the wrong one > (using the default C:\User\XXX) > > We'll have to see if/how we can fix this. From the path you mention, > I'm guessing you are running Vista? > > Were the AVD files properly located under /.android/.avd/ at least? > > thanks > Xav > > > > On Sun, Apr 19, 2009 at 11:14 AM, Noah wrote: > > > I am having the same issue. Running that command gave me the > > following: > > > emulator: could not open .ini file: C:\Users\\.android/avd/ > > TestAVD.ini: No such file or directory > > emulator: ERROR: unknown virtual device name: 'TestAVD' > > emulator: could not find virtual device named 'TestAVD' > > > The android batch file created the AVD on D:. I copied the files to C: > > where it's expecting them and I guess I'll have to remember that when > > running commands. Should also probably be a bug to look into. > > > The SDK in on D as is my Users directory. > > > Thanks. > > > On Apr 15, 2:44 am, Raphael wrote: > >> Can you start the emulator with the following debug option? > > >> $ emulator -debug avd_config -avd android11 > > >> That will show us the exact error. > >> R. > > >> On Tue, Apr 14, 2009 at 3:30 PM, im.thatoneguy > >> wrote: > > >> > I created an AVD "Android11" > > >> > If I run "Android list avd" it lists "android11" as the first > >> > available AndroidVirtualDevices. > > >> > If I run > > >> > "Emulator -avd android11" > > >> > it gives me an error: > >> > " > >> > emulator: ERRORunknowndevicename: 'android11' > >> > emulator: could not find vritualdevicenamed 'android11' > >> > " > > >> > do I need to move the .android/avd/ folder somewhere specific for the > >> > emulator to see them? Android sees it just not emulator. > > -- > Xavier Ducrohet > Android Developer Tools Engineer > Google Inc. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "android-framework" group. To post to this group, send email to android-framework@googlegroups.com To unsubscribe from this group, send email to android-framework+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-framework?hl=en -~--~~~~--~~--~--~---
Re: Emulator v1.5
Hi Noah, It looks like the Java API used by the Android tool to return the home user folder properly found it in D:\... However, the C API used by the emulator seems to return the wrong one (using the default C:\User\XXX) We'll have to see if/how we can fix this. From the path you mention, I'm guessing you are running Vista? Were the AVD files properly located under /.android/.avd/ at least? thanks Xav On Sun, Apr 19, 2009 at 11:14 AM, Noah wrote: > > I am having the same issue. Running that command gave me the > following: > > emulator: could not open .ini file: C:\Users\\.android/avd/ > TestAVD.ini: No such file or directory > emulator: ERROR: unknown virtual device name: 'TestAVD' > emulator: could not find virtual device named 'TestAVD' > > The android batch file created the AVD on D:. I copied the files to C: > where it's expecting them and I guess I'll have to remember that when > running commands. Should also probably be a bug to look into. > > The SDK in on D as is my Users directory. > > Thanks. > > On Apr 15, 2:44 am, Raphael wrote: >> Can you start the emulator with the following debug option? >> >> $ emulator -debug avd_config -avd android11 >> >> That will show us the exact error. >> R. >> >> On Tue, Apr 14, 2009 at 3:30 PM, im.thatoneguy >> wrote: >> >> > I created an AVD "Android11" >> >> > If I run "Android list avd" it lists "android11" as the first >> > available AndroidVirtualDevices. >> >> > If I run >> >> > "Emulator -avd android11" >> >> > it gives me an error: >> > " >> > emulator: ERRORunknowndevicename: 'android11' >> > emulator: could not find vritualdevicenamed 'android11' >> > " >> >> > do I need to move the .android/avd/ folder somewhere specific for the >> > emulator to see them? Android sees it just not emulator. > > > -- Xavier Ducrohet Android Developer Tools Engineer Google Inc. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "android-framework" group. To post to this group, send email to android-framework@googlegroups.com To unsubscribe from this group, send email to android-framework+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-framework?hl=en -~--~~~~--~~--~--~---
Re: Emulator v1.5
I am having the same issue. Running that command gave me the following: emulator: could not open .ini file: C:\Users\\.android/avd/ TestAVD.ini: No such file or directory emulator: ERROR: unknown virtual device name: 'TestAVD' emulator: could not find virtual device named 'TestAVD' The android batch file created the AVD on D:. I copied the files to C: where it's expecting them and I guess I'll have to remember that when running commands. Should also probably be a bug to look into. The SDK in on D as is my Users directory. Thanks. On Apr 15, 2:44 am, Raphael wrote: > Can you start the emulator with the following debug option? > > $ emulator -debug avd_config -avd android11 > > That will show us the exact error. > R. > > On Tue, Apr 14, 2009 at 3:30 PM, im.thatoneguy > wrote: > > > I created an AVD "Android11" > > > If I run "Android list avd" it lists "android11" as the first > > available AndroidVirtualDevices. > > > If I run > > > "Emulator -avd android11" > > > it gives me an error: > > " > > emulator: ERRORunknowndevicename: 'android11' > > emulator: could not find vritualdevicenamed 'android11' > > " > > > do I need to move the .android/avd/ folder somewhere specific for the > > emulator to see them? Android sees it just not emulator. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "android-framework" group. To post to this group, send email to android-framework@googlegroups.com To unsubscribe from this group, send email to android-framework+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-framework?hl=en -~--~~~~--~~--~--~---
Re: Emulator v1.5
Can you start the emulator with the following debug option? $ emulator -debug avd_config -avd android11 That will show us the exact error. R. On Tue, Apr 14, 2009 at 3:30 PM, im.thatoneguy wrote: > > I created an AVD "Android11" > > If I run "Android list avd" it lists "android11" as the first > available Android Virtual Devices. > > If I run > > "Emulator -avd android11" > > it gives me an error: > " > emulator: ERROR unknown device name: 'android11' > emulator: could not find vritual device named 'android11' > " > > do I need to move the .android/avd/ folder somewhere specific for the > emulator to see them? Android sees it just not emulator. > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "android-framework" group. To post to this group, send email to android-framework@googlegroups.com To unsubscribe from this group, send email to android-framework+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-framework?hl=en -~--~~~~--~~--~--~---
Emulator v1.5
I created an AVD "Android11" If I run "Android list avd" it lists "android11" as the first available Android Virtual Devices. If I run "Emulator -avd android11" it gives me an error: " emulator: ERROR unknown device name: 'android11' emulator: could not find vritual device named 'android11' " do I need to move the .android/avd/ folder somewhere specific for the emulator to see them? Android sees it just not emulator. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "android-framework" group. To post to this group, send email to android-framework@googlegroups.com To unsubscribe from this group, send email to android-framework+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-framework?hl=en -~--~~~~--~~--~--~---