Grafting Scala 2.8 into a Netbeans NBAndroid Project...What steps am I missing?

Posted by Michael Kohout on Stack Overflow See other posts from Stack Overflow or by Michael Kohout
Published on 2010-04-13T01:42:21Z Indexed on 2010/04/13 1:42 UTC
Read the original article Hit count: 425

Filed under:
|
|

Hi All;

Due to Apple's recent T+C hijinks, I've become interested in developing for Android.

Anyways, I'm trying to get a mixed-language Android 2.1 project going in Netbeans 6.8 (with the NBAndroid 0.10 plugin). The two languages being Java and Scala(2.8 head build). To give you a basic idea of what the app does right now, it's just a simple "Hello World" app.

To get this to build, I've modified the projects's build.xml file:

-->

-injars ${scala-library}(!META-INF/MANIFEST.MF,!library.properties) -outjars "${build.classes.dir}/classes.min.jar" -libraryjars "${file.reference.android.jar}" -dontwarn -dontoptimize -dontobfuscate -keep public class * extends android.app.Activity -keep public class scala.xml.include.sax.Main**

I've gotten the project so that it'll build, but it errors on startup in my Android Emulator(inside the emulator Android tells me my application has stopped unexpectedly).

So my questions are: Does anyone see what I may be doing wrong? And is there any way to get access to the logs that the emulator must create?

thanks Mike Kohout

© Stack Overflow or respective owner

Related posts about android

Related posts about scala