[android-beginners] Re: Cannot create AVD in window XP
Are you sure you downloaded the WINDOWS version of the SDK? I've just downloaded it and there is an "android.bat" inside the /android-sdk-windows-1.5_r1/tools/ directory. You want this one: http://developer.android.com/sdk/download.html?v=android-sdk-windows-1.5_r1.zip On Tue, May 19, 2009 at 11:22 PM, Norfeldt wrote: > > I still don't get it.. > > here is what I done.. > downloaded the SDK zip. extracted it to the desktop > opened the folder at moved to content to this dir: C:\Android > opened run and typed cmd typed emulator and hit ENTER > The emulator runs fine... > Close it down.. > run -> cmd [ENTER] > I type: > cd \ [ENTER] > cd Android [ENTER] > cd [tools] > android create avd --target 2 --name my_avd > > AND BM Nothing happens but an error.. > > there is no android.bat file in by tools folder. > > On May 18, 11:10 pm, Raphael wrote: >> If you are under Windows there should be SDK/tools/android.bat and >> android.sh for linux/mac. If SDK/tools is not on your path, add it. >> >> The only android.jar you can find is >> SDK/platforms/android-1.[15]/android.jar which is the API for >> ant/eclipse. It has nothing to do with the "android" command-line >> tool. >> >> R/ >> >> On Sun, May 17, 2009 at 5:30 AM, Steve wrote: >> >> > I have the same problem as this. There is no 'android' executable in >> > the tools directory - should there be? I only have an android.jar >> > file in the tools' parent folder, but this is not part of my path, and >> > I'm not sure if this is what is meant to be running. >> >> > On May 12, 4:19 am, "minht...@gmail.com" wrote: >> >> Hi everyone, >> >> >> When I try tocreateAVD, I got the message "'android' is not >> >> recognized as an internal or external command,operable program or >> >> batch file." >> >> >> Even I typedcreatecommand from SDK\tools directory, I got that >> >> message. >> >> >> And I also have Java Home in Environment Variable and add java path to >> >> path of the system. >> >> >> I would appreciate any suggestion. >> >> >> Thank you > > > > --~--~-~--~~~---~--~~ 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: Cannot create AVD in window XP
On Tue, May 19, 2009 at 3:22 PM, Norfeldt wrote: > > I still don't get it.. > > here is what I done.. > downloaded the SDK zip. extracted it to the desktop > opened the folder at moved to content to this dir: C:\Android > opened run and typed cmd typed emulator and hit ENTER > The emulator runs fine... > Close it down.. > run -> cmd [ENTER] > I type: > cd \ [ENTER] > cd Android [ENTER] > cd [tools] > android create avd --target 2 --name my_avd > > AND BM Nothing happens but an error.. > > there is no android.bat file in by tools folder. If you type "dir" in that folder, what is the output? R/ --~--~-~--~~~---~--~~ 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: Cannot create AVD in window XP
I still don't get it.. here is what I done.. downloaded the SDK zip. extracted it to the desktop opened the folder at moved to content to this dir: C:\Android opened run and typed cmd typed emulator and hit ENTER The emulator runs fine... Close it down.. run -> cmd [ENTER] I type: cd \ [ENTER] cd Android [ENTER] cd [tools] android create avd --target 2 --name my_avd AND BM Nothing happens but an error.. there is no android.bat file in by tools folder. On May 18, 11:10 pm, Raphael wrote: > If you are under Windows there should be SDK/tools/android.bat and > android.sh for linux/mac. If SDK/tools is not on your path, add it. > > The only android.jar you can find is > SDK/platforms/android-1.[15]/android.jar which is the API for > ant/eclipse. It has nothing to do with the "android" command-line > tool. > > R/ > > On Sun, May 17, 2009 at 5:30 AM, Steve wrote: > > > I have the same problem as this. There is no 'android' executable in > > the tools directory - should there be? I only have an android.jar > > file in the tools' parent folder, but this is not part of my path, and > > I'm not sure if this is what is meant to be running. > > > On May 12, 4:19 am, "minht...@gmail.com" wrote: > >> Hi everyone, > > >> When I try tocreateAVD, I got the message "'android' is not > >> recognized as an internal or external command,operable program or > >> batch file." > > >> Even I typedcreatecommand from SDK\tools directory, I got that > >> message. > > >> And I also have Java Home in Environment Variable and add java path to > >> path of the system. > > >> I would appreciate any suggestion. > > >> Thank you --~--~-~--~~~---~--~~ 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: Cannot create AVD in window XP
If you are under Windows there should be SDK/tools/android.bat and android.sh for linux/mac. If SDK/tools is not on your path, add it. The only android.jar you can find is SDK/platforms/android-1.[15]/android.jar which is the API for ant/eclipse. It has nothing to do with the "android" command-line tool. R/ On Sun, May 17, 2009 at 5:30 AM, Steve wrote: > > I have the same problem as this. There is no 'android' executable in > the tools directory - should there be? I only have an android.jar > file in the tools' parent folder, but this is not part of my path, and > I'm not sure if this is what is meant to be running. > > On May 12, 4:19 am, "minht...@gmail.com" wrote: >> Hi everyone, >> >> When I try to create AVD, I got the message "'android' is not >> recognized as an internal or external command,operable program or >> batch file." >> >> Even I typed create command from SDK\tools directory, I got that >> message. >> >> And I also have Java Home in Environment Variable and add java path to >> path of the system. >> >> I would appreciate any suggestion. >> >> Thank you > > > > --~--~-~--~~~---~--~~ 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: Cannot create AVD in window XP
Thanks for catching this. I filed a bug for that: http://b.android.com/2697 R/ On Sun, May 17, 2009 at 6:44 AM, Steve wrote: > > This is because the Android HelloWorld example: > > http://developer.android.com/guide/tutorials/hello-world.html > > ...points to the download page of the 1.1 SDK, whereas you need the > 1.5 SDK to be able to use the 'android' command from the same example! > > Download the 1.5 SDK here: > > http://developer.android.com/sdk/1.5_r1/index.html > > On May 12, 4:19 am, "minht...@gmail.com" wrote: >> Hi everyone, >> >> When I try to create AVD, I got the message "'android' is notrecognized as >> an internal or external command,operable program or >> batch file." >> >> Even I typed create command from SDK\tools directory, I got that >> message. >> >> And I also have Java Home in Environment Variable and add java path to >> path of the system. >> >> I would appreciate any suggestion. >> >> Thank you > > > > --~--~-~--~~~---~--~~ 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: Cannot create AVD in window XP
I have the same problem as this. There is no 'android' executable in the tools directory - should there be? I only have an android.jar file in the tools' parent folder, but this is not part of my path, and I'm not sure if this is what is meant to be running. On May 12, 4:19 am, "minht...@gmail.com" wrote: > Hi everyone, > > When I try to create AVD, I got the message "'android' is not > recognized as an internal or external command,operable program or > batch file." > > Even I typed create command from SDK\tools directory, I got that > message. > > And I also have Java Home in Environment Variable and add java path to > path of the system. > > I would appreciate any suggestion. > > Thank you --~--~-~--~~~---~--~~ 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: Cannot create AVD in window XP
This is because the Android HelloWorld example: http://developer.android.com/guide/tutorials/hello-world.html ...points to the download page of the 1.1 SDK, whereas you need the 1.5 SDK to be able to use the 'android' command from the same example! Download the 1.5 SDK here: http://developer.android.com/sdk/1.5_r1/index.html On May 12, 4:19 am, "minht...@gmail.com" wrote: > Hi everyone, > > When I try to create AVD, I got the message "'android' is notrecognized as an > internal or external command,operable program or > batch file." > > Even I typed create command from SDK\tools directory, I got that > message. > > And I also have Java Home in Environment Variable and add java path to > path of the system. > > I would appreciate any suggestion. > > Thank you --~--~-~--~~~---~--~~ 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: Cannot create AVD in window XP
You should also add the Android SDK tools folder to the PATH environment variable and it should work fine. On May 12, 5:19 am, "minht...@gmail.com" wrote: > Hi everyone, > > When I try to create AVD, I got the message "'android' is not > recognized as an internal or external command,operable program or > batch file." > > Even I typed create command from SDK\tools directory, I got that > message. > > And I also have Java Home in Environment Variable and add java path to > path of the system. > > I would appreciate any suggestion. > > Thank you --~--~-~--~~~---~--~~ 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: Cannot create AVD in window XP
> > I think that u mast have /.../tools in Enviroment variables. > > --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---