Closed alxd closed 1 year ago
Fixed via https://github.com/kivy/python-for-android/pull/2746
We also have made an emergency release to target this issue: https://github.com/kivy/python-for-android/releases/tag/v2023.02.10
Please delete your .buildozer
folder and try again.
👋 @alxd, we use the issue tracker exclusively for bug reports and feature requests. However, this issue appears to be a support request. Please use our support channels to get help with the project. Let us know if this comment was made in error, and we'll be happy to reopen the issue.
I just did a pip install and had the same issue
Found a solution on stackoverflow as well: I had same issue, i just edited the error file and remove stdout. from : avdmanager('list', 'target').stdout.decode('utf-8').split('\n'). to : avdmanager('list', 'target').split('\n') https://stackoverflow.com/questions/75405703/python-for-android-attributeerror-avdmanager-bug-when-building-with-buildozer
Versions Python: 3.8 OS: Ubuntu 20.04.4 LTS on WSL Windows 10 Buildozer 1.5.0 - seems to be the latest: Releases 9 1.5.0 (2023-01-28)
buildozer android release
Search for Git (git) -> found at /usr/bin/git Search for Cython (cython) -> found at /home/alex/.local/bin/cython Search for Java compiler (javac) -> found at /usr/lib/jvm/java-11-openjdk-amd64/bin/javac Search for Java keytool (keytool) -> found at /usr/lib/jvm/java-11-openjdk-amd64/bin/keytool Install platform Run ['git', 'config', '--get', 'remote.origin.url'] Cwd /mnt/c/Python38/share/kivy-examples/camera/.buildozer/android/platform/python-for-android https://github.com/kivy/python-for-android.git Run ['git', 'branch', '-vv'] Cwd /mnt/c/Python38/share/kivy-examples/camera/.buildozer/android/platform/python-for-android
Same previous bug: https://github.com/kivy/buildozer/issues/756
Until this is fixed, you can edit
pythonforandroid/recipes/android/__init__.py
and removedecode('utf-8')
part from theself.ctx.bootstrap.name.decode('utf-8')
lineOriginally posted by @AndreMiras in https://github.com/kivy/buildozer/issues/756#issuecomment-443350792