You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am attempting to run the command sudo buildozer android debug, and everything goes quite well - Android NDK and SDK load, and then suddenly, a massive error shows up. The last bit of this log is below the spec file. I have tried uninstalling everything (kivy, buildozer, dependencies, etc.), installed different versions of java, installed clang and lld. Python 3.7 is also installed, with sudo apt-get install python3.7. I am completely clueless as to how I'm going to get this to work. I have only been using defaults, and the application I'm trying to make is pretty basic.
The logs were very, very long, so I included only the last bits of it.
/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lpython3.7m
/mnt/a/Stuff/Code/Test/application/version_2/android/.buildozer/android/platform/build/build/bootstrap_builds/sdl2-python3/jni/application/src/start.c:51: error: undefined reference to 'PyModule_Create2'
/mnt/a/Stuff/Code/Test/application/version_2/android/.buildozer/android/platform/build/build/bootstrap_builds/sdl2-python3/jni/application/src/start.c:158: error: undefined reference to 'Py_SetProgramName'
/mnt/a/Stuff/Code/Test/application/version_2/android/.buildozer/android/platform/build/build/bootstrap_builds/sdl2-python3/jni/application/src/start.c:164: error: undefined reference to 'PyImport_AppendInittab'
/mnt/a/Stuff/Code/Test/application/version_2/android/.buildozer/android/platform/build/build/bootstrap_builds/sdl2-python3/jni/application/src/start.c:197: error: undefined reference to 'Py_DecodeLocale'
/mnt/a/Stuff/Code/Test/application/version_2/android/.buildozer/android/platform/build/build/bootstrap_builds/sdl2-python3/jni/application/src/start.c:198: error: undefined reference to 'Py_SetPath'
/mnt/a/Stuff/Code/Test/application/version_2/android/.buildozer/android/platform/build/build/bootstrap_builds/sdl2-python3/jni/application/src/start.c:209: error: undefined reference to 'Py_Initialize'
/mnt/a/Stuff/Code/Test/application/version_2/android/.buildozer/android/platform/build/build/bootstrap_builds/sdl2-python3/jni/application/src/start.c:226: error: undefined reference to 'PyEval_InitThreads'
/mnt/a/Stuff/Code/Test/application/version_2/android/.buildozer/android/platform/build/build/bootstrap_builds/sdl2-python3/jni/application/src/start.c:232: error: undefined reference to 'PyRun_SimpleStringFlags'
/mnt/a/Stuff/Code/Test/application/version_2/android/.buildozer/android/platform/build/build/bootstrap_builds/sdl2-python3/jni/application/src/start.c:238: error: undefined reference to 'PyRun_SimpleStringFlags'
/mnt/a/Stuff/Code/Test/application/version_2/android/.buildozer/android/platform/build/build/bootstrap_builds/sdl2-python3/jni/application/src/start.c:244: error: undefined reference to 'PyRun_SimpleStringFlags'
/mnt/a/Stuff/Code/Test/application/version_2/android/.buildozer/android/platform/build/build/bootstrap_builds/sdl2-python3/jni/application/src/start.c:260: error: undefined reference to 'PyRun_SimpleStringFlags'
/mnt/a/Stuff/Code/Test/application/version_2/android/.buildozer/android/platform/build/build/bootstrap_builds/sdl2-python3/jni/application/src/start.c:370: error: undefined reference to 'PyRun_SimpleFileExFlags'
/mnt/a/Stuff/Code/Test/application/version_2/android/.buildozer/android/platform/build/build/bootstrap_builds/sdl2-python3/jni/application/src/start.c:373: error: undefined reference to 'PyErr_Occurred'
/mnt/a/Stuff/Code/Test/application/version_2/android/.buildozer/android/platform/build/build/bootstrap_builds/sdl2-python3/jni/application/src/start.c:375: error: undefined reference to 'PyErr_Print'
/mnt/a/Stuff/Code/Test/application/version_2/android/.buildozer/android/platform/build/build/bootstrap_builds/sdl2-python3/jni/application/src/start.c:376: error: undefined reference to 'PySys_GetObject'
/mnt/a/Stuff/Code/Test/application/version_2/android/.buildozer/android/platform/build/build/bootstrap_builds/sdl2-python3/jni/application/src/start.c:377: error: undefined reference to 'PyFile_WriteString'
/mnt/a/Stuff/Code/Test/application/version_2/android/.buildozer/android/platform/build/build/bootstrap_builds/sdl2-python3/jni/application/src/start.c:379: error: undefined reference to 'PyErr_Clear'
/mnt/a/Stuff/Code/Test/application/version_2/android/.buildozer/android/platform/build/build/bootstrap_builds/sdl2-python3/jni/application/src/start.c:406: error: undefined reference to 'Py_FinalizeEx'
/mnt/a/Stuff/Code/Test/application/version_2/android/.buildozer/android/platform/build/build/bootstrap_builds/sdl2-python3/jni/application/src/start.c:35: error: undefined reference to '_PyArg_ParseTuple_SizeT'
/mnt/a/Stuff/Code/Test/application/version_2/android/.buildozer/android/platform/build/build/bootstrap_builds/sdl2-python3/jni/application/src/start.c:0: error: undefined reference to '_Py_NoneStruct'
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [/mnt/a/Stuff/Code/Test/application/version_2/android/.buildozer/android/platform/build/build/bootstrap_builds/sdl2-python3/obj/local/armeabi-v7a/libmain.so] Error 1
STDERR:
# Command failed: /usr/bin/python3 -m pythonforandroid.toolchain create --dist_name=test--bootstrap=sdl2 --requirements=python3,kivy,flask,flask_uploads,multiprocessing --arch armeabi-v7a --copy-libs --color=always --storage-dir="/mnt/a/Stuff/Code/Test/application/version_2/android/.buildozer/android/platform/build" --ndk-api=21
#
# 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
The text was updated successfully, but these errors were encountered:
👋 We use the issue tracker exclusively for bug reports and feature requests. However, this issue appears to be a support request. Please use our support channels to get help with the project.
If you're having trouble installing or using python-for-android, maybe you could be interested in our quickstart guide.
Let us know if this comment was made in error, and we'll be happy to reopen the issue.
Versions
Description
I am attempting to run the command
sudo buildozer android debug
, and everything goes quite well - Android NDK and SDK load, and then suddenly, a massive error shows up. The last bit of this log is below the spec file. I have tried uninstalling everything (kivy, buildozer, dependencies, etc.), installed different versions of java, installed clang and lld. Python 3.7 is also installed, withsudo apt-get install python3.7
. I am completely clueless as to how I'm going to get this to work. I have only been using defaults, and the application I'm trying to make is pretty basic.buildozer.spec
Logs
The logs were very, very long, so I included only the last bits of it.
The text was updated successfully, but these errors were encountered: