Skip to content

Commit

Permalink
close #452 as suggested by SpotlightKid
Browse files Browse the repository at this point in the history
  • Loading branch information
pat1 committed Apr 28, 2017
1 parent 38f4b29 commit d323d43
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions buildozer/targets/android.py
Original file line number Diff line number Diff line change
Expand Up @@ -819,10 +819,9 @@ def _update_libraries_references(self, dist_dir):

# recreate the project.properties
with io.open(project_fn, 'w', encoding='utf-8') as fd:
fd.writelines(content)
fd.writelines((line.encode('utf-8') for line in content))
for index, ref in enumerate(references):
fd.write(u'android.library.reference.{}={}\n'.format(index + 1,
ref))
fd.write(u'android.library.reference.{}={}\n'.format(index + 1, ref))

self.buildozer.debug('project.properties updated')

Expand Down

0 comments on commit d323d43

Please sign in to comment.