I recently learned about kivy and tried to make a very simple little app just to test it. To try it out properly I used the kivy launcher but also felt compelled to try and compile it to an APK for my android phone. So I downloaded virtual box and installed linux mint on it. After installing things like java, cython and all that good stuff I tried to run “buildozer android debug”. It keeps returning this bug though and I can’t seem to figure out why. Any input is appreciated, thanks!
Command failed: /usr/bin/python3 -m pythonforandroid.toolchain create --dist_nam e=vibapplication --bootstrap=sdl2 --requirements=kivy --arch armeabi-v7a --copy- libs --color=always --storage-dir=/media/sf_python/python projects/kivy_learn/vi brator/.buildozer/android/platform/build
Full log: https://jpst.it/17q2O
Advertisement
Answer
Could you try installing Buildozer VM from this link
https://kivy.org/docs/guide/packaging-android-vm.html
also you may follow https://kivy.org/docs/guide/packaging-android.html#buildozer
make sure you run “buildozer init” inside your project folder and also you have main.py file which is your program file and then run “buildozer android debug”
Note: you may also update the buildozer.spec file as per your requirement.
requirement = kivy # this should be by default