We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2e18c77 commit f3c0ae8Copy full SHA for f3c0ae8
examples/cross_build/android/ndk_basic/ci_test_example.py
@@ -23,7 +23,7 @@
23
tools.android:ndk_path={}
24
"""
25
26
-ndk_path = {"Darwin": "/opt/homebrew/share/android-ndk", "Linux": "/opt/android-ndk-r23c"}.get(platform.system())
+ndk_path = os.environ.get("ANDROID_NDK") or os.environ.get("ANDROID_NDK_HOME")
27
28
if ndk_path:
29
profile = profile.format(ndk_path)
0 commit comments