This commit is contained in:
涓€绾跨伒 2022-08-08 22:22:34 +08:00 committed by GitHub
parent 9892aa3d1c
commit b80c469383
1 changed files with 3 additions and 1 deletions

View File

@ -26,7 +26,9 @@ def _check_ndk_root_env():
break
break
if ANDROID_NDK == None: raise
if ANDROID_NDK == None:
ANDROID_NDK = os.environ['ANDROID_NDK']
if not os.path.isdir(ANDROID_NDK): raise
except Exception:
print("The ndk-r19c not installed in '{0}{1}ndk', please install via cmdline-tools/bin/sdkmanager --verbose --sdk_root=D:\\dev\\adt\\sdk \"ndk;19.2.5345600\"".format(sdkRoot, os.path.sep))