rust-mobile/android-activity

Path target/aarch64-linux-android/debug/libapp.so doesn't exist

myname1111 opened this issue · 4 comments

I was trying to compile my program when suddenly I got this error

Error: Path `"E:\\Rust Projects\\flashcards_app\\target\\aarch64-linux-android\\debug\\libapp.so"` doesn't exist

Why does this happen?

rib commented

Sorry there isn't enough context here to guess what the problem could be, the description doesn't suggest that this is related to the android-activity crate either?

It happened after I added Android activity and switched to cargo apk

I fixed it by removing the lib name

rib commented

ah right, yeah I don't think cargo apk currently supports custom library names unfortunately