Загрузка...

Using Buildozer: Python Flask into Android APK Part 2: Install Dependencies

REFERENCES:
[1]--https://buildozer.readthedocs.io/en/latest/installation.html
[2]--(Aaron Fritz) https://www.youtube.com/watch?v=Ir_35vdchNo&list=PL0gO2HETNk0aXyxI38KgNHIHRj1WxHCvo&index=16&t=140s
[3]--(Sk Sahil) https //www.youtube.com/watch?v=iFJiV0VHFBw&t=361s
[4]--(kenechukwu) Akubue https://www.youtube.com/watch?v=vtq1ml9-1Tw&t=252s
[5]--(styssi) https://stackoverflow.com/questions/35441481/connection-to-localhost-10-0-2-2-from-android-emulator-timed-out

12) OPEN THE TERMINAL AND START INSERTING CODE:

13)... sudo apt install linux-headers-$(uname -r) build-essential dkms

14)... sudo apt-get install git libssl-dev cython3

15) Fix Problems With Cython:
... cd /bin/ && sudo gedit cython
*** Paste: cython3 $@
*** Exit the file edit.
... sudo chmod 755 cython && cd ~

16) Download And Install Buildozer:
... sudo git clone https://github.com/kivy/buildozer.git

17) Install dependancies:
... 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

18) Copy and Paste into bashrc:
...sudo gedit ~/.bashrc
*** Past the following at the bottom:
... export PATH=$PATH:~/.local/bin/

19) Run buildozer setup:
... cd buildozer
... sudo python3 setup.py install

20) Create a buildozer.spec file:
... sudo buildozer init

20) Edit the buildozer.spec file accordingly!:
... sudo gedit buildozer.spec

21) Run Buildozer (just to get the apk file):
... buildozer -v android debug

22) Alternative Run Buildozer (to install on your phone):
... buildozer android debug deploy run

PAT: https://www.patreon.com/rezatahirkheli
PP: https://www.paypal.com/paypalme/rezatahirkheli1
BTC: 3EUQBWZKX9Vcwdffd3cUGATQopxrAQQxJ9
LTC: MBXE6hJgxxFYSD8SjmR7sHCHGTqFXmNGoU
GFM: https://gofund.me/7d6500bd

Видео Using Buildozer: Python Flask into Android APK Part 2: Install Dependencies канала ZeroLife
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять