rust-mobile / ndk

Rust bindings to the Android NDK
Apache License 2.0
1.14k stars 112 forks source link

ndk-build: Consider ANDROID_SDK_ROOT as deprecated instead of ANDROID_HOME #346

Closed MarijnS95 closed 2 years ago

MarijnS95 commented 2 years ago

Fixes https://github.com/rust-windowing/android-ndk-rs/issues/327, CC @Hoodad

According to the official documentation ndk-build is considering the wrong variable as deprecated. The wrong message was introduced in #39 which bizarrely failed to quote any reference matterial on the matter, making it impossible to understand whether this has always been the case or recently switched in precedence.

Hoodad commented 2 years ago

Thank you for fixing it 👍🙏