Linux Ubuntu Buildozer Important Note

Download as odt, pdf, or txt
Download as odt, pdf, or txt
You are on page 1of 2

sudo apt-get install python-kivy python-kivy-examples debhelper python python-

all-dev cython libgl1-mesa-dev libgles2-mesa-dev

if git is not installed then

apt install git

git clone https://github.com/kivy/buildozer.git (gives error)

or pip install buildozer (good)

Install Python:-

sudo apt install python3.6

Install Setup tools:-


sudo apt-get install python3-setuptools

Go to buildozer directory:-
cd buildozer

Install setup.py by this command:-


sudo python3 setup.py install

Install some packages:-

sudo apt install -y git zip unzip openjdk-8-jdk python3-pip autoconf libtool
pkg-config zlib1g-dev libncurses5-dev libncursesw5-dev libtinfo5 cmake libffi-
dev libssl-devpip3

pip install --user --upgrade Cython==0.29.19

virtualenv

nano ./bashrc

(enter) export PATH=$PATH:~/.local/bin/ (& save)

cd buildozer

Initialize Buildozer:-

buildozer init

Do some changes:-
#(str) Title of your application title = My Application (name of your
applications)#(str) Package name package.name = myapp (package name)
And also change this
#(str) Android logcat filters to use #android.logcat_filters = *:S python:D
to

#(str) Android logcat filters to use android.logcat_filters = *:S python:D


run the last command

buildozer android debug deploy run

You might also like