|
@@ -1517,7 +1517,7 @@ def main(argv=None) -> int:
|
|
|
if args.android_home is None or not Path(args.android_home).is_dir():
|
|
|
parser.error("Invalid $ANDROID_HOME or --android-home: must be a directory containing the Android SDK")
|
|
|
if args.android_ndk_home is None or not Path(args.android_ndk_home).is_dir():
|
|
|
- parser.error("Invalid $ANDROID_NDK_HOME or --android_ndk_home: must be a directory containing the Android NDK")
|
|
|
+ parser.error("Invalid $ANDROID_NDK_HOME or --android-ndk-home: must be a directory containing the Android NDK")
|
|
|
if args.android_api is None:
|
|
|
with section_printer.group("Detect Android APIS"):
|
|
|
args.android_api = releaser._detect_android_api(android_home=args.android_home)
|