Skip to content

Commit 8e11634

Browse files
authored
Merge pull request #1477 from tito/fix-ndk-ver-test
fixes invalid message showed when no ANDROIDNDKVER is set
2 parents 7b16f24 + cdcf50d commit 8e11634

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pythonforandroid/build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ def prepare_build_environment(self,
317317
info('Got NDK version from from user argument: {}'.format(ndk_ver))
318318
if ndk_ver is None:
319319
ndk_ver = environ.get('ANDROIDNDKVER', None)
320-
if ndk_dir is not None:
320+
if ndk_ver is not None:
321321
info('Got NDK version from $ANDROIDNDKVER: {}'.format(ndk_ver))
322322

323323
self.ndk = 'google'

0 commit comments

Comments
 (0)