Path: blob/master/python-kivy-calc-1/compile_apk_for_android.txt
5925 views
#if not working app store in ubuntu 20.04.021sudo snap remove snap-store2sudo snap install snap-store34#before install pycharm5sudo apt -y install python3-distutils6sudo apt -y install python3-pip7pip3 install setuptools89sudo apt install -y git10git clone https://github.com/kivy/buildozer.git11cd buildozer12sudo python3 setup.py install1314buildozer init1516nano buildozer.spec1718#https://buildozer.readthedocs.io/en/latest/installation.html#targeting-android19sudo apt update20sudo 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-dev21pip3 install --user --upgrade Cython==0.29.19 virtualenv # the --user should be removed if you do this in a venv2223# add the following line at the end of your ~/.bashrc file24export PATH=$PATH:~/.local/bin/2526buildozer android debug deploy run272829