diff --git a/buildozer/targets/android.py b/buildozer/targets/android.py index 6454cdc..2e46367 100644 --- a/buildozer/targets/android.py +++ b/buildozer/targets/android.py @@ -820,6 +820,8 @@ class TargetAndroid(Target): # recreate the project.properties with io.open(project_fn, 'w', encoding='utf-8') as fd: fd.writelines((line.encode('utf-8') for line in content)) + if not content[-1].endswith(u'\n'): + fd.write(u'\n') for index, ref in enumerate(references): fd.write(u'android.library.reference.{}={}\n'.format(index + 1, ref))