I got this error with make sdk.

a...@anil-laptop:~/mydroid$ make sdk
build/core/product_config.mk:207: WARNING: adding test OTA key
============================================
TARGET_PRODUCT=generic
TARGET_BUILD_VARIANT=eng
TARGET_SIMULATOR=
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release
BUILD_ID=
============================================
Combining NOTICE files: out/target/product/generic/obj/NOTICE.txt
Finding NOTICE files: out/host/linux-x86/obj/NOTICE_FILES/hash-
timestamp
Combining NOTICE files: out/host/linux-x86/obj/NOTICE.txt
Package: out/target/product/generic/generic-img-eng.anil.zip
SDK buildinfo: out/target/product/generic/sdk/sdk-build.prop
Docs droiddoc: out/target/common/docs/dx
javadoc: error - In doclet class DroidDoc,  method start has thrown an
exception java.lang.reflect.InvocationTargetException
com.sun.tools.javac.code.Symbol$CompletionFailure: class file for
sun.util.resources.OpenListResourceBundle not found
1 error
make: *** [out/target/common/docs/dx-timestamp] Error 45
a...@anil-laptop:~/mydroid$


On Jan 5, 10:17 pm, Anil <[email protected]> wrote:
> On Jan 5, 6:37 pm, Xavier Ducrohet <[email protected]> wrote:
>
> Xavier, thanks for replying...
>
> > Both Activity Creator and ADT are designed to work with an SDK.
>
> I wish the documentation would contain this. (I would have saved a few
> hours :).
>
> > You could build an SDK (make sdk) to create/build your project (using
> > Ant or ADT).
>
> > Then, when you connect your debugger to your running application, you
> > can configure it to go look for the source code both in your project
> > folder and in the android tree (I would start by pointing it at
> > frameworks/base/core/java/).
>
> > This will probably require to do a manual connection with DDMS
> > (instead of using the launch configuration from ADT).
>
> The last part is not clear to me - if I make an SDK,  then do I still
> need to  connect manually?
>  thanks,
> Anil
>
> > Xav
>
> > On Mon, Jan 5, 2009 at 2:40 PM, Anil <[email protected]> wrote:
>
> > > 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