user266003
user266003

Reputation:

A library in Scala -- use in Android

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

Answers (1)

Vrashabh Irde
Vrashabh Irde

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

Related Questions