Witam, rozwiązałem problem pośrednio, tj.: COLAB, poniżej dyrektywy poprawione, teraz działające, wydaje się main.py należy zastosować, jednak nie sprawdzałem innego rozwiązania np. abc.py. Złączam komplet poprawionych dyrektywy COLAB oraz buildozer.spec. U mnie działa oraz wygenerowałem firstapp.apk!!!
COLAB:
!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
!sudo apt update
!sudo apt install -y git zip unzip openjdk-17-jdk python3-pip autoconf libtool pkg-config zlib1g-dev libncurses5-dev libncursesw5-dev libtinfo5 cmake libffi-dev libssl-dev
!pip3 install --user --upgrade Cython==0.29.33 virtualenv # the --user should be removed if you do this in a venv
# add the following line at the end of your ~/.bashrc file
!export PATH=$PATH:~/.local/bin/
!buildozer init
!buildozer -v android debug
buildozer. spec
[app]
# (str) Title of your application
title = Firstapp
# (str) Package name
package.name = main.py
# (str) Package domain (needed for android/ios packaging)
package.domain = org.test
# (str) Source code where the main.py is located
source.dir = .
# (str) Application versioning (method 1)
version = 1
# (list) Source files to include (let empty to include all the files)
source.include_exts = py,png,jpg,kv,atlas
# (list) List of dependencies to install (python modules, kivy etc.)
requirements = python3,kivy
# (str) Supported orientation (one of: landscape, portrait or all)
orientation = portrait
# (bool) Indicate if the application should be fullscreen or not
fullscreen = 1
# (str) Presplash of the application
presplash.filename = presplash.png
# (str) Icon of the application
icon.filename = icon.png
# (str) Supported platforms
# Available: android, ios, windows, macosx, linux, web
platforms = android
[buildozer]
# (int) Log level (0 = error only, 1 = info, 2 = debug (default), 3 = trace)
log_level = 2
# (bool) If true, does not warn if run as root (not recommended!)
warn_on_root = 0
Pozdrawiam użytkowników Forum oraz Androida!!!