Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scala 3 support? #345

Open
Sintrastes opened this issue Dec 17, 2020 · 5 comments
Open

Scala 3 support? #345

Sintrastes opened this issue Dec 17, 2020 · 5 comments

Comments

@Sintrastes
Copy link

Is there any chance that someone could look into supporting scala 3 projects with sbt-android?

Starting with the sbt-android example projects, and adding addSbtPlugin("ch.epfl.lamp" % "sbt-dotty" % "0.5.0") and scalaVersion := "3.0.0-M3" I haven't been able to get this to work yet.

Has anyone been able to do this successfully yet? Is there more migration work that needs to be done to make this plugin support scala 3?

@bohonghuang
Copy link

I've tried out for some similar stuffs. I compiled some scala 3 code into a jar file, and involved it into an android project, but only to find segment fault always occurring in ART when executing scala code. It seems like android runtime doesn't fully support some features of java 8, even with d8 dexer. 😥

@Sintrastes
Copy link
Author

@huangbohong Is this the case even on devices with api version 24 and above?

@bohonghuang
Copy link

@Sintrastes Yes. Tested on Android 9.0.

@doofin
Copy link

doofin commented Apr 23, 2024

@doofin
Copy link

doofin commented Apr 23, 2024

Seems someone made it work https://github.com/chenakam/scalroid

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants