Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unable to compile a python script using buildozer

I am using win 32 python 2.7 and kivy 1.8.0 but on compiling using buildozer for creating an Android app it is showing the following error:

C:\Python27\Scripts>buildozer android debug deploy
I check configuration tokens
Unknown command/target android
like image 424
Tushar Yadav Avatar asked Jun 24 '14 08:06

Tushar Yadav


People also ask

How do I install Buildozer for python 3?

Installing Buildozer with python3 support: Install buildozer from source: git clone https://github.com/kivy/buildozer cd buildozer python setup.py build sudo pip install -e . Please note the “android” buildozer target, and use that for any and all buildozer commands you run (even if the docs just say “android”).

What is Buildozer KIVY?

¶ Buildozer is a tool that aim to package mobiles application easily. It automates the entire build process, download the prerequisites like python-for-android, Android SDK, NDK, etc. Buildozer manages a file named buildozer.


1 Answers

Although buildozer works on Windows, python-for-android does not. You need to use OSX or Linux to make an APK with Kivy. Kivy provides a Linux virtual machine for your convenience.

like image 68
brousch Avatar answered Oct 10 '22 01:10

brousch