> Hope it's not off-topic asking questions about a specific learning
> resource in this forum...
>
> Book is the Commonsware book "Android Programming Tutorials" by Mark
> Murphy.

You are probably better off with the cw-android Google Group:

http://groups.google.com/group/cw-android

> My question is that although the book promises support for "Android 1.5
> and beyond" some steps in both the "Beginning" book and the Tutorials seem
> to be very specific to Android 1.1
>
> For example, the initial step to setup the first tutorial's files is
> supposed to be accomplished by executing the following from a command line
>
>
> android create project --target 2 --path ./FirstApp --activity FirstApp
> --package apt.tutorial
>
>
> No executable "android" is installed anywhere I can find, and if it's
> referring to "android.bat" that's located in the Android 1.1 subfolder of
> the android 1.5 SDK where no PATH variable exists (documentation
> recommends adding the path to the "tools" directory which one assumes
> should be the android 1.5r2 folder).

mmur...@nc8000:~$ ls /opt/android-sdk-linux_x86-1.5_r2/tools
adb         ddms         emulator         lib         sqlite3
android     dmtracedump  hierarchyviewer  mksdcard    traceview
apkbuilder  draw9patch   hprof-conv       NOTICE.txt

android is there, second row, left-most column.

The PATH variable is an environment variable, set via the Control Panel in
Windows or via a script like .bashrc in Linux. Instructions for modifying
your PATH can be found on page 4, and that is quoted from the Android
documentation.

Again, the directory you want in your PATH the tools/ directory inside
wherever you put the SDK. On my machines, I put the SDK in /opt (on
Linux), so the directory I have in my PATH is
/opt/android-sdk-linux_x86-1.5_r2/tools.

If you have additional questions, pop over to the cw-android group, and
we'll be happy to help!

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 2.0 Available!



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" 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-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to