Reputation:
I'm pretty new in Android development. Since android is based on virtual machine called Dalvik and it's different from Java Virtual Machine, is it possible to to create a library in Scala and use it in Android?
The answer is pretty straightforward ("yes") for me, but nevertheless I want to make sure.
Upvotes: 0
Views: 155
Reputation: 14367
Yes! But there are some know how's. You should use ProGuard prior to dexing the standard scala libraries.
Start here: https://github.com/jberkel/android-plugin/ Details here: https://github.com/jberkel/android-plugin/wiki/getting-started
If you encounter problems refer this and this
.
Upvotes: 1