-
Notifications
You must be signed in to change notification settings - Fork 523
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
Errors on 'buildozer android debug deploy run' #113
Comments
Is buildozer python3 ready? I think here is some issue on str <-> bytes incompatibility. For example, pexpect:1382:
'incoming' is str, but 'c' is bytes. In python3 you can't concatenate them without conversion. |
No, buildozer does not yet fully support python3, and this is probably the cause of your problem. There's been some work on this recently, and hopefully we can get full compatibility soon, but I think you'll need to use python2 for now. Edit: Actually, I'm not sure if the recent changes were supposed to give full python3 compatibility, though apparently they didn't. Either way, you still need python2 to use python-for-android at the moment, so you may as well use it at this stage too. |
This bug also should not be closed since the issue is still unresolved. So why are they being closed? It just causes confusion. |
This issues was due to the user trying to run buildozer with a version of python that was neither supported nor claimed to be supported. The bug was closed because this, not because of a change in buildozer. As it happens, there have been some changes since then which mostly add python3 support, though python-for-android still depends on python2 so you can't compile locally with it. If you've hit an issue with python3 support, please open a separate topic about this specific issue. This is more useful than reopening an old bug with a less clear problem. |
First post issue is not python version dependent, so it is a bug for python 2. |
So before I open a bug I will need to understand better. Is Python 3 supported? If so is that limited to a specific version or versions of Python 3? This user was using Python 3.3, I am using Python 3.4. Was it because the user was using Open Suse, if so then which Linux distros are supported? My distro is Linux Mint 16. I have had multiple issues with lib/pexpect.py and a issue with targets/android.py(This issue is fixed in the master branch). |
Buildozer should support python3 (that is, this is what we aim to support, though this is new and bugs may remain as above). The supported versions should probably be 3.3+. One reason for not being clear about this is that (as in the other issue) it doesn't let you build apks with python3 because python-for-android still only supports python2. You can, however, use buildozer-remote with python3, or the client for tito's online cloud builder 'hanga'. |
I build apk on my configuration after openning this issue and couple hours of "monkey" patching |
pexpect.py:1375:
'None' check must be first, else:
Solution:
The text was updated successfully, but these errors were encountered: