Skip to content

Commit b58febc

Browse files
committed
Corrected NDK platform finding to use ndk_api instead of android_api
1 parent d0f0113 commit b58febc

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
@@ -381,7 +381,7 @@ def prepare_build_environment(self,
381381
self.ndk_platform = join(
382382
self.ndk_dir,
383383
'platforms',
384-
'android-{}'.format(self.android_api),
384+
'android-{}'.format(self.ndk_api),
385385
platform_dir)
386386
if not exists(self.ndk_platform):
387387
warning('ndk_platform doesn\'t exist: {}'.format(

0 commit comments

Comments
 (0)