tauri-apps/cargo-mobile2

How to embed custom Java/kotlin code into APK?

mzdk100 opened this issue · 0 comments

I need to write some Java/kotlin code and package it into APK, but I found that the gradle project created through the 'cargo mobile init' command is saved in the gen directory, and gen is added to the .gitignore file. This means that we should not directly modify the files in the gen directory. So how can I implement my requirements?