Skip to content

Commit f3c0ae8

Browse files
committed
wip
1 parent 2e18c77 commit f3c0ae8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/cross_build/android/ndk_basic/ci_test_example.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
tools.android:ndk_path={}
2424
"""
2525

26-
ndk_path = {"Darwin": "/opt/homebrew/share/android-ndk", "Linux": "/opt/android-ndk-r23c"}.get(platform.system())
26+
ndk_path = os.environ.get("ANDROID_NDK") or os.environ.get("ANDROID_NDK_HOME")
2727

2828
if ndk_path:
2929
profile = profile.format(ndk_path)

0 commit comments

Comments
 (0)