android command not recognised by buildozer

908 views
Skip to first unread message

Peter Bremer

unread,
May 21, 2022, 1:02:57 PM5/21/22
to Kivy users support
I followed https://realpython.com/mobile-app-kivy-python/

but it looks like that for some strange reason my buildozer is only for iOS, not for android:

> buildozer -v android
debug
# Check configuration tokens
Unknown command/target android

> buildozer help
# Check configuration tokens
Usage:
    buildozer [--profile <name>] [--verbose] [target] <command>...
    buildozer --version

Available targets:
  ios                iOS target, based on kivy-ios project

Global commands (without target):
  appclean           Clean the .buildozer folder in the app directory.
  distclean          Clean the whole Buildozer environment.
  help               Show the Buildozer help.
  init               Create a initial buildozer.spec in the current directory
  serve              Serve the bin directory via SimpleHTTPServer
  setdefault         Set the default command to run when no arguments are given
  version            Show the Buildozer version

Target commands:
  clean      Clean the target environment
  update     Update the target dependencies
  debug      Build the application in debug mode
  release    Build the application in release mode
  deploy     Deploy the application on the device
  run        Run the application on the device
  serve      Serve the bin directory via SimpleHTTPServer

Target "ios" commands:
  list_identities    List the available identities to use for signing.
  xcode              Open the xcode project.

How to enable it for android?

Robert

unread,
May 21, 2022, 5:58:42 PM5/21/22
to Kivy users support
If the world was rational I'd say there is a corrupted install (buildozer/targets/android.py is missing).
Don't know how that could happen.

Generally I'd suggest the official install instruction https://github.com/kivy/buildozer/blob/master/docs/source/installation.rst
rather than some random web page.

What does this return?      pip3 list | grep buildozer
And this ?  buildozer --version
Reply all
Reply to author
Forward
0 new messages