Answer the question
In order to leave comments, you need to log in
What should I do if I get this error while compiling?
Guys, please help me fix this problem. What should be done?
Unable to compile to apk file, gives this error
---------------------------------------- -------------------------------------------------- ----------
No setup.py/pyproject.toml used, copying full private data into .apk.
Error while running "/home/raven/aaa/.buildozer/android/platform/build-arm64-v8a/build/other_builds/hostpython3/desktop/hostpython3/native-build/python3 -OO -m compileall -b -f /home /raven/aaa/.buildozer/android/app"
This probably means one of your Python files has a syntax error, see logs above
# Command failed: /usr/bin/python -m pythonforandroid.toolchain apk --debug --bootstrap=sdl2 --dist_name FalconFont --name 'Falcon Font' --version 1 --package org.test.falconfont --minsdk 21 --ndk-api 21 -- private /home/raven/aaa/.buildozer/android/app --android-entrypoint org.kivy.android.PythonActivity --android-apptheme Anna :style/Theme.NoTitleBar --orientation portrait --copy-libs --arch arm64-v8a --color =always --storage-dir="/home/raven/aaa/.buildozer/android/platform/build-arm64-v8a" --ndk-api=21 --use-setup-py
Answer the question
In order to leave comments, you need to log in
Most likely you didn't build the buildozer.spec file correctly. And do everything as root, it's stupid to compile with raven. Install all dependencies for python kivy, and set up environment (python)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question