Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update android.py, updated recreate the project.properties section #525

Merged
merged 1 commit into from
Dec 15, 2017

Conversation

mokhoo
Copy link
Contributor

@mokhoo mokhoo commented Jul 12, 2017

Using android_old option exits with error due to an empty "project.properties" file. To solve this problem the next edit should be done:

In recreate the project.properties section, the next line should be changed:
fd.writelines((line.encode('utf-8') for line in content))
-->
fd.writelines((line.decode('utf-8') for line in content))

In recreate the project.properties section, changed:
line.encode('utf-8') --> line.decode('utf-8') 
so that "android_old" option can work, otherwise it exits with an exception after creating an empty "project.properties" file
@mokhoo mokhoo changed the title Update android.py, changed encode --> decode Update android.py, updated recreate the project.properties section Jul 12, 2017
@tito tito merged commit d816451 into kivy:master Dec 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants