I'm experimenting with Scala on Android. I've got a project for Android that I've created in Eclipse. If I try to new up a Scala object, I get an exception:
java.lang.NoClassDefFoundError: hello.world.SomeScalaClass The dex file has the Scala class: Class #6 - Class descriptor : 'Lhello/world/SomeScalaClass;' Access flags : 0x0001 (PUBLIC) Superclass : 'Ljava/lang/Object;' Interfaces - #0 : 'Lscala/ScalaObject;' Static fields - Instance fields - Direct methods - #0 : (in Lhello/world/SomeScalaClass;) name : '<init>' type : '()V' access : 0x10001 (PUBLIC CONSTRUCTOR) code - registers : 1 ins : 1 outs : 1 insns size : 4 16-bit code units catches : (none) positions : 0x0000 line=3 locals : 0x0000 - 0x0004 reg=0 this Lhello/world/SomeScalaClass; Virtual methods - source_file_idx : 20 (SomeScalaClass.scala) But shouldn't the dex file include some reference to the scala-library.jar file that's also in the project? -- James Moore ja...@restphone.com http://jamesmoorecode.blogspot.com/ -- 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