diff --git a/buildozer/targets/android.py b/buildozer/targets/android.py index a55f53179..0ceca9b24 100644 --- a/buildozer/targets/android.py +++ b/buildozer/targets/android.py @@ -958,7 +958,7 @@ def execute_build_package(self, build_cmd): # support for extra-manifest-application extra_manifest_application_entry = self.buildozer.config.getdefault( 'app', 'android.extra_manifest_application_entry', '') - if extra_manifest_application: + if extra_manifest_application_entry: cmd.append('--extra-manifest-application-entry="{}"'.format(open(extra_manifest_application_entry, 'rt').read().replace('"', '\\"'))) # support for extra-manifest-application-arguments