'buld apk with buildozer error, Command failed

macos 12.1 python 3.10.3

try:

buildozer -v android debug

have an error:

    checking for the platform triplet based on compiler characteristics... darwin
    configure: error: internal configure error for the platform triplet, please file a bug report
    
      STDERR:
 
    # Command failed: /Users/sa/my_kivy_project/bin/python3 -m pythonforandroid.toolchain create --dist_name=myapp --bootstrap=sdl2 --requirements=python3,kivy --arch arm64-v8a --arch armeabi-v7a --copy-libs --color=always --storage-dir="/Users/sa/my_kivy_project/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a" --ndk-api=21 --ignore-setup-py --debug
    
    # Buildozer failed to execute the last command
    # The error might be hidden in the log above this error
    # Please read the full log, and search for it before
    # raising an issue with buildozer itself.
    # In case of a bug report, please add a full log with log_level = 2

have no idea what wrong

in log there are no errors

UPD1: try to remove ./buildozer directory and set API version from 27 to 32 in buildozer.spec – no effect

UPD2: solve with try in Ubuntu...



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source