buildozer-action
buildozer-action copied to clipboard
Buildozer not including .kv and assets(.gif, .ttf, .json)
i have provided every proper info in buildozer.spec and stored everything where main.py and .spec file is...including .kv, .ttf(markup),.gif but gives logcat error. i was running .kv within the main.py file, after a series of errors i tried to put .kv aside and tried to run it but gave error of no such file in the directory main.kv.
OS..win 7 virtual machine ubuntu
.spec file
[app]
# (str) Title of your application
title = dkapp14
# (str) Package name
package.name = mydkapp14
# (str) Package domain (needed for android/ios packaging)
package.domain = org.test
# (str) Source code where the main.py live
source.dir = .
# (list) Source files to include (let empty to include all the files)
source.include_exts = py,png,jpg,kv,atlas,json,gif,ttf
# (list) List of inclusions using pattern matching
source.include_patterns = /*
# (list) Source files to exclude (let empty to not exclude anything)
#source.exclude_exts = spec
# (list) List of directory to exclude (let empty to not exclude anything)
#source.exclude_dirs = tests, bin
# (list) List of exclusions using pattern matching
#source.exclude_patterns = license,images/*/*.jpg
# (str) Application versioning (method 1)
version = 0.1
# (str) Application versioning (method 2)
# version.regex = __version__ = ['"](.*)['"]
# version.filename = %(source.dir)s/main.py
# (list) Application requirements
# comma separated e.g. requirements = sqlite3,kivy
requirements = python3,kivy==2.0.0,kivymd==0.104.2,sdl2_ttf==2.0.15,pillow==8.4.0,kivmob==2.0,pyrebase4==4.5.0,plyer==2.0.0,pygments==2.11.2,docutils==0.18.1,requests==2.27.1,jnius,android,cython,urllib3==1.26.8,charset-normalizer,idna,cython,oauth2client,httplib2,pyparsing,pyasn1,pyasn1_modules,absl-py,argon2-cffi,rsa,gcloud,google,google-api-python-client,google-auth,google-auth-httplib2, google-auth-oauthlib, jwt,jwcrypto,requests-toolbelt,certifi,pycryptodome,cryptography,python_jwt,deprecated,wrapt,kivymd_extensions,https://github.com/kivymd-extensions/akivymd/archive/main.zip,sdl2_image, sdl2_mixer,freetype, hostpython3,sdl2
# (str) Custom source folders for requirements
# Sets custom source for any requirements with recipes
# requirements.source.kivy = ../../kivy
# (list) Garden requirements
#garden_requirements =
# (str) Presplash of the application
#presplash.filename = %(source.dir)s/data/presplash.png
# (str) Icon of the application
#icon.filename = %(source.dir)s/data/icon.png
# (str) Supported orientation (one of landscape, sensorLandscape, portrait or all)
orientation = portrait
# (list) List of service to declare
#services = NAME:ENTRYPOINT_TO_PY,NAME2:ENTRYPOINT2_TO_PY
#
# OSX Specific
#
#
# author = © Copyright Info
# change the major version of python used by the app
osx.python_version = 3.8
# Kivy version to use
osx.kivy_version = 2.0.0
#
# Android specific
#
# (bool) Indicate if the application should be fullscreen or not
fullscreen = 0
# (string) Presplash background color (for new android toolchain)
# Supported formats are: #RRGGBB #AARRGGBB or one of the following names:
# red, blue, green, black, white, gray, cyan, magenta, yellow, lightgray,
# darkgray, grey, lightgrey, darkgrey, aqua, fuchsia, lime, maroon, navy,
# olive, purple, silver, teal.
#android.presplash_color = green
# (list) Permissions
android.permissions = INTERNET,WRITE_EXTERNAL_STORAGE,READ_EXTERNAL_STORAGE,ACCESS_NETWORK_STATE
# (int) Target Android API, should be as high as possible.
android.api = 31
# (int) Minimum API your APK will support.
#android.minapi = 21
# (int) Android SDK version to use
android.sdk = 24
# (str) Android NDK version to use
#android.ndk = 19b
# (int) Android NDK API to use. This is the minimum API your app will support, it should usually match android.minapi.
#android.ndk_api = 21