We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bec4ac8 commit 24cda50Copy full SHA for 24cda50
pythonforandroid/build.py
@@ -399,7 +399,7 @@ def prepare_build_environment(self,
399
arch = self.archs[0]
400
toolchain_prefix = arch.toolchain_prefix
401
ndk_version = read_ndk_version(ndk_dir)
402
- if ndk_version is not None and ndk_version < LooseVersion('22'):
+ if ndk_version is None or ndk_version < LooseVersion('22'):
403
self.ndk_platform, ndk_platform_dir_exists = get_ndk_platform_dir(
404
self.ndk_dir, self.ndk_api, arch)
405
ok = ok and ndk_platform_dir_exists
0 commit comments