willir / cargo-ndk-android-gradle

Cargo NDK for Android projects
Apache License 2.0
55 stars 7 forks source link

Cargo NDK arguments changed #11

Closed tversteeg closed 3 years ago

tversteeg commented 3 years ago

It looks like cargo-ndk introduced a breaking change with it's 2.0 release, changing the --target & --platform arguments. When I install cargo-ndk with cargo install cargo-ndk --version 1.0.0 it does work.

Maybe it's an idea to also verify the major version of the installed cargo-ndk?

jnicholls commented 3 years ago

Good idea @tversteeg.

willir commented 3 years ago

Hi, thanks for reporting the issue, I'll try to soon add 2.0 support and add check for cargo-ndk version.