Skip to content

AttributeError: 'str' object has no attribute 'stdout' #3291

@C0rn3j

Description

@C0rn3j

This is effectively a dupe of #2745, which was closed via a hack in #2746.

Please actually support the stable library version instead, then remove stdout.decode('utf-8').

  File "/home/user/Projects/Tauon/.buildozer/android/platform/python-for-android/pythonforandroid/build.py", line 36, in get_targets
    targets = avdmanager('list', 'target').stdout.decode('utf-8').split('\n')
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'str' object has no attribute 'stdout'

# Same issue in:
#  /home/user/Projects/Tauon/.buildozer/android/platform/python-for-android/pythonforandroid/recipe.py
#  /home/user/Projects/Tauon/.buildozer/android/platform/python-for-android/pythonforandroid/recipes/python3/__init__.py
#  /home/user/Projects/Tauon/.buildozer/android/platform/python-for-android/pythonforandroid/toolchain.py

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions