Skip to content

Commit

Permalink
Recommend ANDROID_HOME rather than ANDROID_SDK_ROOT when SDK is n…
Browse files Browse the repository at this point in the history
…ot found (#35)

Per rust-mobile/ndk#346 `ANDROID_HOME` is the
recommended environment variable over `ANDROID_SDK_ROOT`, but the error message
when no SDK is found at all was still pointing to `ANDROID_SDK_ROOT`.
  • Loading branch information
Vrixyz authored Nov 30, 2023
1 parent 2d621d4 commit e177a5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ndk-build/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ use thiserror::Error;
pub enum NdkError {
#[error(
"Android SDK is not found. \
Please set the path to the Android SDK with the $ANDROID_SDK_ROOT \
Please set the path to the Android SDK with the $ANDROID_HOME \
environment variable."
)]
SdkNotFound,
Expand Down

0 comments on commit e177a5a

Please sign in to comment.