tags:

views:

124

answers:

1

I tried using actors in a small scala (2.8) app on android (2.1) today and I keep getting a really weird error referencing sun.misc.Unsafe.throwException.

I'm thinking that maybe the dalvik VM doesn't include this so Actors basically can't be used on android but I hope I'm wrong.

Did anyone manage to get actors working on android?

+4  A: 

Yes, as a matter of fact, they work for me on either Android 2.1 or 2.2.

It is only simple use to do some extremely simple processing after an UI event occurs (setting coordinates on a PicturePanel), but Actors did work without problems so far.

The way I build & deploy the application is SBT with android-plugin 0.4.2 by jberkel, the versions of Scala used has included all versions from 2.8.0RC3 to RC6.

Radtoo
Excellent. Thank you. Must just be me screwing something up then. I'll give it another go.
alun