I’m trying to build my first android app. I installed Kivy, buildozer and coded “hello world” as here. Then, I input “buildozer android debug” and it threw an error, “bla bla bla sdk directory is not specified” in this command: So I added some arguments to the command and made it work: So when I’m trying to run it, it
Tag: kivy
Prevent Kivy leaving debug messages
I have a simple a Kivy interface that also uses the terminal. Example code: The problem is that whenever I start the script I get this: I have found that this is Kivy’s automatic debugging messages. How do I prevent them (or at least hide so that I can use the terminal)? Answer As shown in the docs, you should
How to increase size of a screen and center it in the monitor?
I am making a program with several screens and each one has its own size, so each time I change of screen I must re-size the App. The problem is that, when I change the size of the window, Kivy only increase or reduce the lenght of the right and the bottom sides, not the four sides, so the screen
Can you obtain physical size of device in kivy?
Does anyone know how Kivy renders text in different fonts? I have labels with text at 16sp. On a tablets with screen sizes (1024, 552) and (2048, 1536) it works perfectly (width/height ratios 1.855 and 1.333 respectively) On the pc with screen size (1280, 720) (ratio 1.778) it also displays perfectly, but on a phone with this screen size the
Kivy – Bind Label Text To Variable (Python Only)
I have been trying to get my labels to auto-update themselves for quite a while now and I have read over a dozen StackOverflow questions but to no avail. I have an global object that contains an integer value that I want to be displayed with a label inside of one of my widget classes. The widget class looks like
Error When Trying to Run Simple Kivy Program (Windows)
When trying to run the following program on my computer: After I added what was suggested( The last two lines ), I get two syntax errors, the first telling me to delete the colon and the second telling me to remove the indent, and then this: According to the tutorial I’m following( http://inclem.net/2014/01/09/kivy-crash-course/1_making-a-simple-app/ ), the program should be able to