How to download Buildozer on Windows 10 Pro

3,911 views
Skip to first unread message

Fareha Masood

unread,
Apr 12, 2019, 1:22:21 PM4/12/19
to Kivy users support
Hi everyone,
I have successfully design a desktop application (design.py file on IDLE) and (abc.kv file on notepad++) both the files are in Python37 directory and now I want to use Buildozer to generate APK file.
For that I try to use (pip install buildozer) command on windows command prompt and its successfully run. Afterwards the commands are not working, I am following this tutorial (https://kivy.org/doc/stable/guide/packaging-android.html#buildozer).

Kindly let me know the correct way of downloading Buildozer tool on windows 10 and please me know the directory as well where I need to download it.
Thankyou in advance.

Dave McCormick

unread,
Apr 12, 2019, 1:30:53 PM4/12/19
to kivy-...@googlegroups.com
You need to use a Linux distro to build for Android.  The easy way to do this is a virtual machine, one has been provided here:

I use the above even though I run Linux. all of the setup work is already complete.

Dave

--
You received this message because you are subscribed to the Google Groups "Kivy users support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kivy-users+...@googlegroups.com.
To post to this group, send email to kivy-...@googlegroups.com.
Visit this group at https://groups.google.com/group/kivy-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/kivy-users/08c812d8-2a56-4464-97a0-0118cd6b1405%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Robert Flatt

unread,
Apr 12, 2019, 7:24:30 PM4/12/19
to Kivy users support
Buildozer uses Linux programs. It does not run at a Windows command prompt.
I'm pretty certain none of the documentation says Windows is supported.

However you can get it to run using the Windows Subsystem for Linux. Basically a Bash command prompt.
Install and run Buildozer at this bash prompt. Read the install instructions first.

Its actually kinda cool as you can set your Bash current working directory to your project in the Windows file system.
So nothing changes except running just Buildozer at a different prompt.

You have several choices of Linux systems, I'd suggest Ubuntu 18.04  (I know p4a runs, so I expect Buildozer runs)

Note that on that page in the description it says (I think you have to do it before install the app):
To use this feature, one first needs to use "Turn Windows features on or off" and select "Windows Subsystem for Linux", click OK, reboot, and use this app.

If you are not a Linux user expect some surprises! Really.
You are going to see error messages you don't understand. Remember Google is your friend.
The most likely one is installing additional packages required by some program you run.
Enjoy the learning curve.

Fareha Masood

unread,
Apr 13, 2019, 6:11:18 AM4/13/19
to kivy-...@googlegroups.com, planckp...@gmail.com
Hi, 
Thankyou for the reply it's really helpful concepts are much clear now.
I am familiar with windows subsytem Linux (WSL), I downloaded the app from the store.  
Kindly consider these questions as well.
 >>>Should I download Python, Kivy as well on WSL so I can run my files or just I have to download Buildozer and it will manage to download packages by it self?
>>>Kindly let me know should I start working on the WSL installed on my PC  (specs are given below).
Ubuntu Specifications:
Distributor ID: Ubuntu
Description:    Ubuntu 18.04.1 LTS
Release:        18.04
Codename:       bionic

I have read all the documentations  carefully but still I am really confused on some basic things I hope you will answer them.
Thankyou in advance.


Regards,
Fareha Masood.


--
You received this message because you are subscribed to the Google Groups "Kivy users support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kivy-users+...@googlegroups.com.
To post to this group, send email to kivy-...@googlegroups.com.
Visit this group at https://groups.google.com/group/kivy-users.

Robert Flatt

unread,
Apr 13, 2019, 1:13:45 PM4/13/19
to Kivy users support
The documentation gets easier to understand after you poke around with the keyboard a little :)
I expect you need Python to run Buildozer, but it should already be there (as you will see)

I am not a Buildozer user (I use p4a directly, personal preference)
Buildozer does some/all of this but I don't know what.
It may help to give you an overview of what is used (or needed if Buildozer complains).

There is also the Buildozer VM (as another poster suggested), more automation I think, but I have no experience.
To unsubscribe from this group and stop receiving emails from it, send an email to kivy-...@googlegroups.com.

Fareha Masood

unread,
Apr 13, 2019, 2:08:06 PM4/13/19
to Kivy users support
Thanks for ur advice.
I have successfully run Buildozer. 
Reply all
Reply to author
Forward
0 new messages