I want to run HelloAndroid in the Eclipse debugger, stepping through
the platform code to understand what happens under the covers.
(I have downloaded and built the android source on ubuntu 8.10, built
it, and done the eclipse setup steps at source.android.com).

Some things are not clear to me.
should one use the ADT plugin, or activitycreator.py?
1) Can you install ADTplugin - what would you list as the SDK
location, given the android source root?
2) activitycreator.py does not exist in the source, only
activitycreator script, which is in
~/mydroid/out/host/linux-x86/bin

-------activitycreator
TOOLS_DIR=`dirname $0`
AC_JARFILE=$TOOLS_DIR/lib/activitycreator.jar

java -Dcom.android.activitycreator.toolsdir=$TOOLS_DIR -cp $AC_JARFILE
com.android.activitycreator.ActivityCreator "$@"
----------------

However, the script assumes that activitycreator.jar is in the tools/
lib dir which is false. It is in
~/mydroid/out/host/linux-x86/framework

so running it gives a  java.lang.ClassNotFoundException:
com.android.activitycreator.ActivityCreator

modifying the script to read

TOOLS_DIR=$HOME/mydroid/out/host/linux-x86/bin
AC_JARFILE=$TOOLS_DIR/../framework/activitycreator.jar

I now get this error:
ERROR: Target platform templates directory does not exist.

3) If you simply add the src dir as in Add Source in "Adding apps to
the build path" (http://source.android.com/using-eclipse)
then what about the resource files?

4) Building: Does one run ant outside Eclipse, on the command line, to
build HelloAndroid?
5) Debugging/Stepping through HelloAndroid or any of the samples under
~mydroid/developent/: Clicking Debug on Android Source brings up a
list of classes (perhaps it found main() in them), but not the
samples.

Any help appreciated.
thanks,
Anil


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

Reply via email to