1

I'm following some tutorial online on pushing kivy files to an android phone. The command:

buildozer android debug deploy run

finishes successfully without any errors, everything checks out fine. Uploading it to my phone, its no where to be found. Even after adding run to the end of the command, my phone just sits idle and nothing happens. Does anyone happen to know where to go to test the app?

Zachary Haslam
  • 103
  • 1
  • 12
  • If there are no error messages your app should be installed on your cellphone. Try to uncomment this line `#android.logcat_filters = *:S python:D` in the .spec file and run `buildozer android debug deploy run logcat`, if there are some errors in the app that prevent running you'll see them. – Lothric Mar 27 '20 at 15:10
  • great, that helped. It says that the APK is in the bin directory on my phone, do you happen to know how to access it? – Zachary Haslam Mar 27 '20 at 17:04
  • You need to root your phone for that. But why you want to get there anyway? Do you have any error messages? – Lothric Mar 27 '20 at 17:07
  • No, I don't have any error messages. I'm trying to run an example kivy program on my phone and from what I've seen some other people have is an actual icon on their home screen for their program that they can tap to run it. When I run the buildozer command, nothing happens and nothing shows up in the kivy launcher or on my home screen. It says ```# Android packaging done! # APK yoinkpackage__armeabi-v7a-1.0-armeabi-v7a-debug.apk available in the bin directory```, so I was thinking if I could access the bin directory I could move it somewhere where I could actually use the program. – Zachary Haslam Mar 27 '20 at 17:25
  • Oh, you're talking about that, `bin` is in buildozer folder, apk is there – Lothric Mar 27 '20 at 18:13
  • Sorry, I mean where is it on my cell phone? – Zachary Haslam Mar 27 '20 at 18:37
  • That message you've sent means that apk is ready and it's in `bin` folder of buildozer. After that message buildozer should install it on your phone and run. I really don't know why it doesn't do that, but you can install it manually. – Lothric Mar 27 '20 at 18:46
  • Oh, now I understand. adb installed it on my phone. Thank you! – Zachary Haslam Mar 27 '20 at 19:46

1 Answers1

0

buildozer android debug deploy run actually works as intended on my Kivy 2.0.0/buildozer 1.2.0 install, while buildozer android debug logcat deploy run just runs logcat without deploying or running anything.

Anyway, this "alternative" approach to the problem works as well if you don't want to rely completely on buildozer.

Avio
  • 2,700
  • 6
  • 30
  • 50