close #452 as suggested by SpotlightKid
This commit is contained in:
parent
38f4b294c1
commit
d323d43be9
1 changed files with 2 additions and 3 deletions
|
@ -819,10 +819,9 @@ class TargetAndroid(Target):
|
|||
|
||||
# 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')
|
||||
|
||||
|
|
Loading…
Reference in a new issue