Skip to content

Commit 0b3032b

Browse files
authored
Fix ci
1 parent 13fc72c commit 0b3032b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tools/tolua/genbindings.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@ def _check_ndk_root_env():
2626
break
2727
break
2828

29-
if ANDROID_NDK == None: raise
29+
if ANDROID_NDK == None:
30+
ANDROID_NDK = os.environ['ANDROID_NDK']
31+
if not os.path.isdir(ANDROID_NDK): raise
3032

3133
except Exception:
3234
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))

0 commit comments

Comments
 (0)