My first post here guys and I some need help ^^
This forum has been pretty damn useful for me, but I can't seem to handle this tutorial.
Ive imported the source, added the correct android.jar (1.5), deleted the 3rd constructor argument...until no errors were left. But when I want to create a run config to run the emulator I get this error:
- Code: Select all
[2010-07-19 13:34:26 - WeatherForecast]
trouble processing "java/lang/Object.class":
[2010-07-19 13:34:26 - WeatherForecast]
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 a desktop
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.
[2010-07-19 13:34:26 - WeatherForecast] 1 error; aborting
[2010-07-19 13:34:26 - WeatherForecast] Conversion to Dalvik format failed with error 1
Anyone knows what I'm doing wrong?
*EDIT: Nevermind, I made a fresh project and copied the code inside of the base java-file into my own. The rest of the files I copied directly from the source(.rar file). Also made the packages myself. And now it finally runs inside an emulator!