Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
wiseplat
GitHub Repository: wiseplat/python-code
Path: blob/master/python-kivy-calc-1/compile_apk_for_android.txt
5925 views
1
#if not working app store in ubuntu 20.04.02
2
sudo snap remove snap-store
3
sudo snap install snap-store
4
5
#before install pycharm
6
sudo apt -y install python3-distutils
7
sudo apt -y install python3-pip
8
pip3 install setuptools
9
10
sudo apt install -y git
11
git clone https://github.com/kivy/buildozer.git
12
cd buildozer
13
sudo python3 setup.py install
14
15
buildozer init
16
17
nano buildozer.spec
18
19
#https://buildozer.readthedocs.io/en/latest/installation.html#targeting-android
20
sudo apt update
21
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-dev
22
pip3 install --user --upgrade Cython==0.29.19 virtualenv # the --user should be removed if you do this in a venv
23
24
# add the following line at the end of your ~/.bashrc file
25
export PATH=$PATH:~/.local/bin/
26
27
buildozer android debug deploy run
28
29