To add to the above: on Windows, the current working directory is
included automatically in the search PATH. Thus when you type
"android" from inside the tools directory, Windows searches the
current directory by default and runs the android tool. On Mac/Linux
however, the current working directory is not automatically included
in the search path. Thus you have to tell the system that the android
tool is in fact located in the current directory (assuming that you
have already changed to the tools/ directory). Thus you need to type
"./android" instead of just "android".

On Jun 15, 7:53 pm, gjs <[email protected]> wrote:
> ./android
>
> On Jun 14, 4:46 am, jared <[email protected]> wrote:
>
>
>
> > I am having an issue when upgrading to 1.5.I am good on all steps
> > listed here:
>
> >http://developer.android.com/sdk/1.5_r2/upgrading.html
>
> > but I run into problems when creating the AVD. It says do this:
> > Open a command-line (e.g.,"Command Prompt" application on Windows, or
> > "Terminal" on Mac/Linux) and navigate to your SDK package's tools/
> > directory. First, you need to select a Deployment Target. To view
> > available targets, execute:
> > android list targets
>
> > From the terminal, I navigate into the directory of the SDK on a Mac
> > and I call the command listed above:
> > myMac:Mobile jaredfurgal$ cd android-sdk-mac_x86-1.5_r2
> > myMac:android-sdk-mac_x86-1.5_r2 jaredfurgal$ cd tools
> > myMac:tools jaredfurgal$ android list targets
> > -bash: android: command not found
>
> > when I list the files in the directory, I see this:
> > Jet             android         dmtracedump     hierarchyviewer mksdcard
> > NOTICE.txt      apkbuilder      draw9patch      hprof-conv      sqlite3
> > adb             ddms            emulator        lib             traceview
>
> > clearly "andoid" is in the list, so why would I not be able to execute
> > it? Is there something else I am missing?- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to