M
M
minecraft_boy2020-09-27 13:53:37
Python
minecraft_boy, 2020-09-27 13:53:37

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

2 answer(s)
C
CityCat4, 2020-09-27
@CityCat4

There is an assumption that he does not like Cyrillic

T
Tut_and_Tam, 2020-09-28
@Tut_and_Tam

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 question

Ask a Question

731 491 924 answers to any question