Город МОСКОВСКИЙ
00:08:13

Convert your python project files to Apk file for android using google colab

Аватар
Питоновская революция в коде
Просмотры:
22
Дата загрузки:
02.12.2023 18:58
Длительность:
00:08:13
Категория:
Обучение

Описание

Its quite challenging indeed to convert your python project files to android apk file though its easier to understand at the same time.
Point one,always have main.py file.
point two in one way or the other, its mostly suitable for kivy, i dont mean fixed to kivy since you can even change to file extension name to mani.py within google colab its self.

*****----------*****--------
!pip install buildozer

!pip install cython==0.29.19

!sudo apt-get install -y \
python3-pip \
build-essential \
git \
python3 \
python3-dev \
ffmpeg \
libsdl2-dev \
libsdl2-image-dev \
libsdl2-mixer-dev \
libsdl2-ttf-dev \
libportmidi-dev \
libswscale-dev \
libavformat-dev \
libavcodec-dev \
zlib1g-dev

!sudo apt-get install -y \
libgstreamer1.0 \
gstreamer1.0-plugins-base \
gstreamer1.0-plugins-good

!sudo apt-get install build-essential libsqlite3-dev sqlite3 bzip2 libbz2-dev zlib1g-dev libssl-dev openssl libgdbm-dev libgdbm-compat-dev liblzma-dev libreadline-dev libncursesw5-dev libffi-dev uuid-dev libffi6

!sudo apt-get install libffi-dev

!buildozer init

!buildozer -v android debug

Рекомендуемые видео