.buildozer and bin folders are not created

Question:

I am trying to build an android app using buildozer. On my windows 10 device, I am running python 3.9.6, and I’ve installed buildozer version 1.2.0 and kivy version 2.0.0.

Problem is that when I press buildozer init in my folder NewApp, there is no bin folder or .buildozer folder created there. It just creates a buildozer.spec file. Now that I wish to access buildozer templates, I am having trouble finding them since there is no folder named .buildozer in the root folder NewApp.

Asked By: Martund

||

Answers:

Buildozer is always that way. That book might have missed saying that you need to build it once before you can access .buildozer folder and its contents.

If you want to access buildozer template or want to play around p4a contents, you need to build it once, doesn’t matter if it fails.

You can build using below commands depending upon what you’re targeting inside your project folder where you have buildozer.spec file.

  • If creating for Android,
buildozer -v android debug
  • If targeting iOS,
buildozer -v ios debug
Answered By: watney

You have to create a virtual machine on your PC. The VM (Virtual Machine) should be running on Linux (Ubuntu). WSL(2) still have a lot of problems. You can then install Buildozer on Ubuntu easily. Once installed, you can execute build by running the the following command on the terminal : buildozer -v android debug

Answered By: Rey Monta
Categories: questions Tags: , ,
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.