admin管理员组

文章数量:1122846

currently I try to build an simple Python Programm as Android App with Buildozer but it is failing every time when I start with `buildozer android debug. Maybe anyone knows what to do?

I get the following Error Message in which I cannot identify the problem. I tried it with google and chatgpt but could not find a solution

cd /Path_to_Project/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/dists/myapp && /Path_to_Project/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/dists/myapp/gradlew clean assembleDebug

[WARNING]: ERROR: /Path_to_Project/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/dists/myapp/gradlew failed!
No setup.py/pyproject.toml used, copying full private data into .apk.
Applying Java source code patches...
Applying patch: src/patches/SDLActivity.java.patch
# Command failed: ['/home/XXX/Documents/Python/bin/python3', '-m', 'pythonforandroid.toolchain', 'apk', '--bootstrap', 'sdl2', '--dist_name', 'myapp', '--name', 'My Application', '--version', '0.1', '--package', 'org.test.myapp', '--minsdk', '21', '--ndk-api', '21', '--private', '/Path_to_Project/.buildozer/android/app', '--android-entrypoint', 'org.kivy.android.PythonActivity', '--android-apptheme', '@android:style/Theme.NoTitleBar', '--orientation', 'portrait', '--window', '--enable-androidx', '--copy-libs', '--arch', 'arm64-v8a', '--arch', 'armeabi-v7a', '--color=always', '--storage-dir=/Path_to_Project/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a', '--ndk-api=21', '--ignore-setup-py', '--debug']

本文标签: