What is the proper way to use rust in android app development?

33 views
Skip to first unread message

Ammar

unread,
Aug 29, 2026, 10:27:31 AM (9 days ago) Aug 29
to android-ndk
I'm bulding an android app with Java and Rust
I call rust code from java via JNI
But I can't integrate rust well enough in android app development.
I searched online and what I found was rust in AOSP.

Currently I use corrosion but I cannot use the debugger.
I can't place breakpoints in rust source in android studio like I would in C/C++
I have to include a dummy library and link it to my rust library or else gradle won't package it in the final apk.
Reply all
Reply to author
Forward
0 new messages