diff --git a/buildozer/targets/android.py b/buildozer/targets/android.py index 3c37466df..05cf88e9c 100644 --- a/buildozer/targets/android.py +++ b/buildozer/targets/android.py @@ -318,7 +318,7 @@ def install_platform(self): self.buildozer.environ.update({ 'ANDROIDSDK': self.android_sdk_dir, 'ANDROIDNDK': self.android_ndk_dir, - 'ANDROIDAPI': ANDROID_API, + 'ANDROIDAPI': self.android_api, 'ANDROIDNDKVER': self.android_ndk_version}) def get_available_packages(self):