!buildozer -v android debug

210 views
Skip to first unread message

Jonathas Robison

unread,
Jul 22, 2023, 1:12:24 PM7/22/23
to Kivy users support
Olá, por favor podem me ajudar?

O meu requerimento está correto passando dessa forma?
requirements = python3, Pyrebase4, phonenumbers, firebase-admin, request, kivy==2.2.1, https://github.com/kivymd/KivyMD/archive/master.zip

Sempre estou obtendo este erro.

STDERR: # Command failed: ['/usr/bin/python3', '-m', 'pythonforandroid.toolchain', 'create', '--dist_name=nailapp', '--bootstrap=sdl2', '--requirements=python3,Pyrebase4,phonenumbers,firebase-admin,request,kivy==2.2.1,https://github.com/kivymd/KivyMD/archive/master.zip', '--arch=arm64-v8a', '--arch=armeabi-v7a', '--copy-libs', '--color=always', '--storage-dir=/content/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a', '--ndk-api=21', '--ignore-setup-py', '--debug'] # ENVIRONMENT: # SHELL = '/bin/bash' # NV_LIBCUBLAS_VERSION = '11.11.3.6-1' # NVIDIA_VISIBLE_DEVICES = 'all' # COLAB_JUPYTER_TRANSPORT = 'ipc' # NV_NVML_DEV_VERSION = '11.8.86-1' # NV_CUDNN_PACKAGE_NAME = 'libcudnn8' # CGROUP_MEMORY_EVENTS = '/sys/fs/cgroup/memory.events /var/colab/cgroup/jupyter-children/memory.events' # NV_LIBNCCL_DEV_PACKAGE = 'libnccl-dev=2.15.5-1+cuda11.8' # NV_LIBNCCL_DEV_PACKAGE_VERSION = '2.15.5-1' # VM_GCE_METADATA_HOST = '169.254.169.253' # HOSTNAME = '11e1fed8de6b' # TBE_RUNTIME_ADDR = '172.28.0.1:8011' # GCE_METADATA_TIMEOUT = '3' # NVIDIA_REQUIRE_CUDA = ('cuda>=11.8 brand=tesla,driver>=450,driver<451 ' 'brand=tesla,driver>=470,driver<471 brand=unknown,driver>=470,driver<471 ' 'brand=nvidia,driver>=470,driver<471 brand=nvidiartx,driver>=470,driver<471 ' 'brand=geforce,driver>=470,driver<471 brand=geforcertx,driver>=470,driver<471 ' 'brand=quadro,driver>=470,driver<471 brand=quadrortx,driver>=470,driver<471 ' 'brand=titan,driver>=470,driver<471 brand=titanrtx,driver>=470,driver<471 ' 'brand=tesla,driver>=510,driver<511 brand=unknown,driver>=510,driver<511 ' 'brand=nvidia,driver>=510,driver<511 brand=nvidiartx,driver>=510,driver<511 ' 'brand=geforce,driver>=510,driver<511 brand=geforcertx,driver>=510,driver<511 ' 'brand=quadro,driver>=510,driver<511 brand=quadrortx,driver>=510,driver<511 ' 'brand=titan,driver>=510,driver<511 brand=titanrtx,driver>=510,driver<511 ' 'brand=tesla,driver>=515,driver<516 brand=unknown,driver>=515,driver<516 ' 'brand=nvidia,driver>=515,driver<516 brand=nvidiartx,driver>=515,driver<516 ' 'brand=geforce,driver>=515,driver<516 brand=geforcertx,driver>=515,driver<516 ' 'brand=quadro,driver>=515,driver<516 brand=quadrortx,driver>=515,driver<516 ' 'brand=titan,driver>=515,driver<516 brand=titanrtx,driver>=515,driver<516') # NV_LIBCUBLAS_DEV_PACKAGE = 'libcublas-dev-11-8=11.11.3.6-1' # NV_NVTX_VERSION = '11.8.86-1' # COLAB_JUPYTER_IP = '172.28.0.12' # NV_CUDA_CUDART_DEV_VERSION = '11.8.89-1' # NV_LIBCUSPARSE_VERSION = '11.7.5.86-1' # COLAB_LANGUAGE_SERVER_PROXY_ROOT_URL = 'http://172.28.0.1:8013/' # NV_LIBNPP_VERSION = '11.8.0.86-1' # NCCL_VERSION = '2.15.5-1' # KMP_LISTEN_PORT = '6000' # TF_FORCE_GPU_ALLOW_GROWTH = 'true' # ENV = '/root/.bashrc' # PWD = '/content' # COLAB_LANGUAGE_SERVER_PROXY_REQUEST_TIMEOUT = '30s' # TBE_EPHEM_CREDS_ADDR = '172.28.0.1:8009' # TBE_CREDS_ADDR = '172.28.0.1:8008' # NV_CUDNN_PACKAGE = 'libcudnn8=8.9.0.131-1+cuda11.8' # NVIDIA_DRIVER_CAPABILITIES = 'compute,utility' # COLAB_JUPYTER_TOKEN = '' # LAST_FORCED_REBUILD = '20230711' # NV_NVPROF_DEV_PACKAGE = 'cuda-nvprof-11-8=11.8.87-1' # NV_LIBNPP_PACKAGE = 'libnpp-11-8=11.8.0.86-1' # NV_LIBNCCL_DEV_PACKAGE_NAME = 'libnccl-dev' # TCLLIBPATH = '/usr/share/tcltk/tcllib1.20' # NV_LIBCUBLAS_DEV_VERSION = '11.11.3.6-1' # COLAB_KERNEL_MANAGER_PROXY_HOST = '172.28.0.12' # NVIDIA_PRODUCT_NAME = 'CUDA' # NV_LIBCUBLAS_DEV_PACKAGE_NAME = 'libcublas-dev-11-8' # USE_AUTH_EPHEM = '1' # NV_CUDA_CUDART_VERSION = '11.8.89-1' # HOME = '/root' # LANG = 'en_US.UTF-8' # CUDA_VERSION = '11.8.0' # CLOUDSDK_CONFIG = '/content/.config' # NV_LIBCUBLAS_PACKAGE = 'libcublas-11-8=11.11.3.6-1' # NV_CUDA_NSIGHT_COMPUTE_DEV_PACKAGE = 'cuda-nsight-compute-11-8=11.8.0-1' # COLAB_RELEASE_TAG = 'release-colab-20230720-060118-RC00' # PYDEVD_USE_FRAME_EVAL = 'NO' # KMP_TARGET_PORT = '9000' # CLICOLOR = '1' # KMP_EXTRA_ARGS = ('--logtostderr --listen_host=172.28.0.12 --target_host=172.28.0.12 ' '--tunnel_background_save_url=https://colab.research.google.com/tun/m/cc48301118ce562b961b3c22d803539adc1e0c19/m-s-2v2ytlnb4l35x ' '--tunnel_background_save_delay=10s ' '--tunnel_periodic_background_save_frequency=30m0s ' '--enable_output_coalescing=true --output_coalescing_required=true') # NV_LIBNPP_DEV_PACKAGE = 'libnpp-dev-11-8=11.8.0.86-1' # NV_LIBCUBLAS_PACKAGE_NAME = 'libcublas-11-8' # COLAB_KERNEL_MANAGER_PROXY_PORT = '6000' # CLOUDSDK_PYTHON = 'python3' # NV_LIBNPP_DEV_VERSION = '11.8.0.86-1' # ENABLE_DIRECTORYPREFETCHER = '1' # NO_GCE_CHECK = 'False' # JPY_PARENT_PID = '83' # PYTHONPATH = '/env/python' # TERM = 'xterm-color' # NV_LIBCUSPARSE_DEV_VERSION = '11.7.5.86-1' # GIT_PAGER = 'cat' # LIBRARY_PATH = '/usr/local/cuda/lib64/stubs' # NV_CUDNN_VERSION = '8.9.0.131' # SHLVL = '0' # PAGER = 'cat' # COLAB_LANGUAGE_SERVER_PROXY = '/usr/colab/bin/language_service' # NV_CUDA_LIB_VERSION = '11.8.0-1' # NVARCH = 'x86_64' # NV_CUDNN_PACKAGE_DEV = 'libcudnn8-dev=8.9.0.131-1+cuda11.8' # NV_CUDA_COMPAT_PACKAGE = 'cuda-compat-11-8' # MPLBACKEND = 'module://ipykernel.pylab.backend_inline' # NV_LIBNCCL_PACKAGE = 'libnccl2=2.15.5-1+cuda11.8' # LD_LIBRARY_PATH = '/usr/local/nvidia/lib:/usr/local/nvidia/lib64' # COLAB_GPU = '' # GCS_READ_CACHE_BLOCK_SIZE_MB = '16' # NV_CUDA_NSIGHT_COMPUTE_VERSION = '11.8.0-1' # NV_NVPROF_VERSION = '11.8.87-1' # COLAB_FILE_HANDLER_ADDR = 'localhost:3453' # PATH = '/root/.buildozer/android/platform/apache-ant-1.9.4/bin:/opt/bin:/usr/local/nvidia/bin:/usr/local/cuda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/tools/node/bin:/tools/google-cloud-sdk/bin' # NV_LIBNCCL_PACKAGE_NAME = 'libnccl2' # COLAB_DEBUG_ADAPTER_MUX_PATH = '/usr/local/bin/dap_multiplexer' # NV_LIBNCCL_PACKAGE_VERSION = '2.15.5-1' # PYTHONWARNINGS = 'ignore:::pip._internal.cli.base_command' # DEBIAN_FRONTEND = 'noninteractive' # COLAB_BACKEND_VERSION = 'next' # OLDPWD = '/' # _ = '/usr/local/bin/buildozer' # PACKAGES_PATH = '/root/.buildozer/android/packages' # ANDROIDSDK = '/root/.buildozer/android/platform/android-sdk' # ANDROIDNDK = '/root/.buildozer/android/platform/android-ndk-r25b' # ANDROIDAPI = '31' # ANDROIDMINAPI = '21' # # Buildozer failed to execute the last command # The error might be hidden in the log above this error # Please read the full log, and search for it before # raising an issue with buildozer itself. # In case of a bug report, please add a full log with log_level = 2

Robert

unread,
Jul 22, 2023, 4:54:55 PM7/22/23
to Kivy users support

Jonathas Robison

unread,
Jul 25, 2023, 5:48:48 PM7/25/23
to Kivy users support
Infelismente não consegui resolver 

Robert

unread,
Jul 25, 2023, 9:17:39 PM7/25/23
to Kivy users support
A youtube video is useless when asking for help.


> To get help you need to submit the actual error message See https://github.com/Android-for-Python/Android-for-Python-Users#if-buildozer-fails-to-compile


Jonathas Robison

unread,
Jul 26, 2023, 3:17:03 PM7/26/23
to Kivy users support
Entendi, esse é todo o log feito no momento do debug, será que é possivel encontrar o erro aqui?
Em anexo.
Obrigado!

Log.txt

Robert

unread,
Jul 26, 2023, 5:45:39 PM7/26/23
to Kivy users support
> [DEBUG]: configure:8578: error: possibly undefined macro: AC_PROG_LD

Is documented:
https://github.com/Android-for-Python/Android-for-Python-Users#possibly-undefined-macro-ac_prog_ld

It says, check that all of these were installed:


More generally: some (English) instructions for finding errors in log, and understanding their meaning
https://github.com/Android-for-Python/Android-for-Python-Users#if-buildozer-fails-to-compile

Jonathas Robison

unread,
Jul 28, 2023, 8:50:34 PM7/28/23
to Kivy users support
Estou usando o colab para fazer o debug com esse comando o debug funciona 100% porem o app começa a carregar no celular e fecha

Todas minhas células, estão corretas?
# Remove sample_data directory
!rm -r /content/sample_data
# Criar pastas para o projeto
!mkdir images && mkdir View && mkdir View/Gallery && mkdir View/Home && mkdir View/Login && mkdir View/Main && mkdir View/Register && mkdir View/Scheduling && mkdir View/Care && mkdir View/Contact && mkdir View/Map && mkdir View/Prices && mkdir View/Panel
!pip install buildozer
!pip install cython

!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-get install autoconf automake libtool
!buildozer init
!buildozer -v android debug

tudas as blibliotecas usanda no código está em anexo,

e assim configurei o buildozer em anexo

Eu estou a semanas sem achar a solução

obrigado pela atenção!

buildozer (5).spec
requirements.txt

Robert

unread,
Jul 28, 2023, 9:01:16 PM7/28/23
to Kivy users support
I do test or check other peoples code.
I will only try to point you in the right direction if I know what that it.

You need to debug the app
https://github.com/Android-for-Python/Android-for-Python-Users#debugging

Ousmane Drone

unread,
Jul 30, 2023, 6:54:23 AM7/30/23
to kivy-...@googlegroups.com
Thank so much for your help. I really appreciate. I will try do what you said and I will get back to you. Thanks one more time 

--
You received this message because you are subscribed to the Google Groups "Kivy users support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kivy-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kivy-users/379cf3d2-72b6-404a-8744-eded17d1b90en%40googlegroups.com.

Ousmane Drone

unread,
Jul 30, 2023, 7:17:01 AM7/30/23
to kivy-...@googlegroups.com
Can you compilate this for me and send me back the apk file 

main.py
oumar.kv
ds_digital-2.zip
img2.jpg

Robert

unread,
Jul 30, 2023, 12:39:45 PM7/30/23
to Kivy users support
No
Reply all
Reply to author
Forward
Message has been deleted
0 new messages