I am working on getting Scala and Android 1.5 to play together. There
are two approaches that I have tried. The first is to use Eclipse as
documented here: http://www.scala-lang.org/node/160. At first I tried
leaving the Eclipe Scala library as part of the build path. Everything
compiled fine, however when I tried to run the emulator I got an class
verification error. This was caused by a failure to link to the
interface ScalaObject, one of the base interfaces in Scala (every
class in Scala implements this interface.) So it did not look like the
scala-library.jar was being picked up dex. Fine. I removed the Eclipse
Scala library, and manually added scala-library.jar as an external
jar. Doing this, compilation fails and I get this error:

[2009-05-24 13:03:39 - Converter]
trouble writing output: shouldn't happen
[2009-05-24 13:03:39 - Converter] Conversion to Dalvik format failed
with error 2

I searched the group, and this error seemed to be associated with
using annotations and JAXB. Are there issues with using annotations
and Android? That would seem far too restrictive. Any other ideas?

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

Reply via email to