Search code examples
pythonkivybuildozer

.buildozer and bin folders are not created


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.


Solution

  • 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