mozilla / rust-android-gradle

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Was Android Studio intellisense supposed to work?

lattice0 opened this issue · comments

Was it supposed to work? Or do I need to do something more?

Can I help getting this working, maybe with a PR? Or is it too much work?

When I was actively working on such things, Android Studio had no support for Rust. I think there was a Jetbrains plugin for Rust, and per https://blog.devgenius.io/integrating-rust-with-android-development-ef341c2f9cca, I see that you can add the Rust plugin to Android Studio. If you do this, you'll just need to arrange for the Rust sources to be in your Gradle project somehow. Google is investing heavily into Rust for Android, so perhaps there is first-class support for this that I'm not aware of? Or perhaps there will be shortly?

If you can do some research into the state of the art, we can try to make rust-android-gradle have a helpful configuration out of the box. This will probably just mean including some or all Rust paths in the Gradle project.