BrainiumLLC / cargo-mobile

Rust on mobile made easy!
Apache License 2.0
1.23k stars 52 forks source link

APK only supports arm64-v8a #32

Closed tachyon-ops closed 3 years ago

tachyon-ops commented 3 years ago

Hi, when I try to run in my android simulator, I get the following:

Unable to determine application id: com.android.tools.idea.run.ApkProvisionException: The currently selected variant "arm64-debug" uses split APKs, but none of the 1 split apks are compatible with the current device with ABIs "x86, armeabi-v7a, armeabi".

Do you have any idea about this?

francesca64 commented 3 years ago

Thanks for asking! In Android Studio, there are Build Variants for each supported architecture and profile pair:

build-variants

You can also get to it through View -> Tool Windows -> Build Variants.

tachyon-ops commented 3 years ago

Thank you very much @francesca64 ! It works very well like that :)