Since Scala is compiled into its own JVM bytecode, it can be used to develop native Android applications.
The biggest problem is that using a third-party library is not easy in Android development, and you need to use proguard to reduce the size of your program, sometimes this can cause problems.
But itโs still possible to develop an Android application using Scala, for example, I wrote a small Android application (a page in Chinese, but there are screenshots) using Scala. This is not a complicated application, but should demonstrate what Scala can do in developing Android applications.
There are also SBT plugins here to help you create your Scala / Android program.
Finally, if you want to develop Android using Scala, I suggest using Scala 2.8.x. I found that the program crashed during adb installation when I extend the collection class using Scala 2.9.
source share