Python Forum
Can't understand how it works
Thread Rating:
  • 3 Vote(s) - 2.67 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can't understand how it works
#1
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.
"As they say in Mexico 'dosvidaniya'. That makes two vidaniyas."
https://freedns.afraid.org
Reply
#2
Anyone?
"As they say in Mexico 'dosvidaniya'. That makes two vidaniyas."
https://freedns.afraid.org
Reply
#3
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).
Reply
#4
more: https://developer.android.com/ndk/guides...chain.html
https://android.googlesource.com/platfor...deabi-4.9/
Reply


Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020