I received the following message and found several others who had seen it but no solution. So I have included how I finally fixed it. (I'm using Eclipse version 3.4.2 and Android 1.5.)
trouble processing "java/lang/Object.class": [2010-01-17 14:32:29 - whatever] Attempt to include a core VM class in something other than a core library. It is likely that you have attempted to include the core library from adesktop virtual machine into an application, which will most assuredly not work. If you really intend to build a core library -- which is only appropriate as part of creating a full virtual machine binary, as opposed to compiling an application -- then use the "--core-library" option to suppress this error message. If you go ahead and use "--core-library" but are in fact building an application, then please be aware that your build will still fail at some point; you will simply be denied the pleasure of reading this helpful error message. The fix for me was to go to my project's properties, select: Java Build Path -> Libraries (tab) Somehow, the android.jar had been added, and when I deleted it, all was good. Note that the android.jar is included as part of the Android 1.5 library, so this was a duplication. How did this happen? I certainly didn't do it. But my app has blown up a lot in the emulator, so who knows. Later . . . Jim
-- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en