Skip to content

Commit cdcf50d

Browse files
committed
fixes invalid message showed when no ANDROIDNDKVER is set
1 parent 7b16f24 commit cdcf50d

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)