Skip to content

Commit 5acace3

Browse files
committed
Fixed APP_PLATFORM setting
1 parent cf1491a commit 5acace3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pythonforandroid/archs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ def get_env(self, with_flags_in_cc=True):
133133
env['PATH'] = environ['PATH']
134134

135135
env['ARCH'] = self.arch
136-
env['NDK_API'] = str(self.ctx.ndk_api)
136+
env['NDK_API'] = 'android-{}'.format(str(self.ctx.ndk_api))
137137

138138
if self.ctx.python_recipe and self.ctx.python_recipe.from_crystax:
139139
env['CRYSTAX_PYTHON_VERSION'] = self.ctx.python_recipe.version

0 commit comments

Comments
 (0)