On Nov 13, 2007 2:52 PM, martin odersky <
odersky@...> wrote:
> Matt,
>
> > with my own classes. This fixed the NoClassDefFoundError, but now I
> > get something worse. The onCreate() method of each activity must call
> > super.onCreate(). The phone checks for this and throws an exception
> > otherwise. But if I try to call super.onCreate() in my Scala code, I
> > get a NoClassDefFoundError.
>
> It would be good to find out more about this. Certainly, Android would
> be a great target for Scala programs if we could get it to work. Can
> you give more details about the error your encountered? Which class
> was not found?
Sorry, that was a typo. I meant to say that I get a NoSuchMethodError,
trying to call the superclass definition of onCreate(). (I realize
that that's not especially helpful.) If I have time, I will try to get
back to this later and find out more info. I think getting details
will require setting up the Android debugging environment a little
more carefully.
m
--
Matt Hellige /
matt@...
http://matt.immute.net