Python Forum

Full Version: Can't understand how it works
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Well, I started to learn kivy and have tried to build an Android app using buildozer. I run buildozer android debug with an error and can't find what it's telling me. Here are the last few lines of the output:

Error:
......... ......... [WARNING]: NDK version was set as r9c, but checking the NDK dir claims it is . [WARNING]: The build will try to continue, but it may fail and you should check that your setting is correct. [WARNING]: If the NDK dir result is correct, you don't need to manually set the NDK ver. [INFO]:    Using Google NDK r9c [INFO]:    Found virtualenv at /usr/bin/virtualenv [WARNING]: Could not find toolchain subdirectory! [WARNING]: Could not find any toolchain for arm-linux-androideabi! [ERROR]:   python-for-android cannot continue; aborting # Command failed: /usr/bin/python -m pythonforandroid.toolchain create --dist_name=myapp --bootstrap=sdl2 --requirements=python3crystax,kivy --arch armeabi-v7a --copy-libs --color=always --storage-dir=/home/victor/Work/Dev/Python/Kivy/Kivy crash course/test/.buildozer/android/platform/build # # 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
I am not a programmer and don't know what is this 'toolchain', where to search for it and so on.
Anyone?
A toolchain is the compiler/linker used for a certain platform.  It sounds like kivy/buildozer doesn't come with whichever toolchain you need for whichever device you're building, but it does at least let you know which toolchain you need (arm-linux-androideabi).