Hi @GitUtk i have tried using your method to compile my app into apk on google colab but everytime the process crashes.I have attached the error log below.Kindly assist if you have successfully created the apk without any issues Kindly.
[INFO]: Building Pillow for arm64-v8a
[INFO]: PIL apparently isn't already in site-packages
[DEBUG]: -> running pip install build[virtualenv] pip --target /content/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/native-build/Lib/site-packages --python-version 3.9.12 --only-binary=:all: --upgrade
[DEBUG]: Collecting pip
[DEBUG]: Using cached pip-25.1.1-py3-none-any.whl.metadata (3.6 kB)
[DEBUG]: Collecting build[virtualenv]
[DEBUG]: Using cached build-1.2.2.post1-py3-none-any.whl.metadata (6.5 kB)
[DEBUG]: Collecting packaging>=19.1 (from build[virtualenv])
[DEBUG]: Using cached packaging-25.0-py3-none-any.whl.metadata (3.3 kB)
[DEBUG]: Collecting pyproject_hooks (from build[virtualenv])
[DEBUG]: Using cached pyproject_hooks-1.2.0-py3-none-any.whl.metadata (1.3 kB)
[DEBUG]: Collecting virtualenv>=20.0.35 (from build[virtualenv])
[DEBUG]: Using cached virtualenv-20.31.2-py3-none-any.whl.metadata (4.5 kB)
[DEBUG]: Collecting distlib<1,>=0.3.7 (from virtualenv>=20.0.35->build[virtualenv])
[DEBUG]: Using cached distlib-0.3.9-py2.py3-none-any.whl.metadata (5.2 kB)
[DEBUG]: Collecting filelock<4,>=3.12.2 (from virtualenv>=20.0.35->build[virtualenv])
[DEBUG]: Using cached filelock-3.18.0-py3-none-any.whl.metadata (2.9 kB)
[DEBUG]: Collecting platformdirs<5,>=3.9.1 (from virtualenv>=20.0.35->build[virtualenv])
[DEBUG]: Using cached platformdirs-4.3.8-py3-none-any.whl.metadata (12 kB)
[DEBUG]: Using cached build-1.2.2.post1-py3-none-any.whl (22 kB)
[DEBUG]: Using cached pip-25.1.1-py3-none-any.whl (1.8 MB)
[DEBUG]: Using cached packaging-25.0-py3-none-any.whl (66 kB)
[DEBUG]: Using cached virtualenv-20.31.2-py3-none-any.whl (6.1 MB)
[DEBUG]: Using cached distlib-0.3.9-py2.py3-none-any.whl (468 kB)
[DEBUG]: Using cached filelock-3.18.0-py3-none-any.whl (16 kB)
[DEBUG]: Using cached platformdirs-4.3.8-py3-none-any.whl (18 kB)
[DEBUG]: Using cached pyproject_hooks-1.2.0-py3-none-any.whl (10 kB)
[DEBUG]: Installing collected packages: distlib, pyproject_hooks, platformdirs, pip, packaging, filelock, virtualenv, build
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 8/8 [build]
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
[DEBUG]: langchain-core 0.3.60 requires packaging<25,>=23.2, but you have packaging 25.0 which is incompatible.
[DEBUG]: torch 2.6.0+cu124 requires nvidia-cublas-cu12==12.4.5.8; platform_system == "Linux" and platform_machine == "x86_64", but you have nvidia-cublas-cu12 12.5.3.2 which is incompatible.
[DEBUG]: torch 2.6.0+cu124 requires nvidia-cuda-cupti-cu12==12.4.127; platform_system == "Linux" and platform_machine == "x86_64", but you have nvidia-cuda-cupti-cu12 12.5.82 which is incompatible.
[DEBUG]: torch 2.6.0+cu124 requires nvidia-cuda-nvrtc-cu12==12.4.127; platform_system == "Linux" and platform_machine == "x86_64", but you have nvidia-cuda-nvrtc-cu12 12.5.82 which is incompatible.
[DEBUG]: torch 2.6.0+cu124 requires nvidia-cuda-runtime-cu12==12.4.127; platform_system == "Linux" and platform_machine == "x86_64", but you have nvidia-cuda-runtime-cu12 12.5.82 which is incompatible.
[DEBUG]: torch 2.6.0+cu124 requires nvidia-cudnn-cu12==9.1.0.70; platform_system == "Linux" and platform_machine == "x86_64", but you have nvidia-cudnn-cu12 9.3.0.75 which is incompatible.
[DEBUG]: torch 2.6.0+cu124 requires nvidia-cufft-cu12==11.2.1.3; platform_system == "Linux" and platform_machine == "x86_64", but you have nvidia-cufft-cu12 11.2.3.61 which is incompatible.
[DEBUG]: torch 2.6.0+cu124 requires nvidia-curand-cu12==10.3.5.147; platform_system == "Linux" and platform_machine == "x86_64", but you have nvidia-curand-cu12 10.3.6.82 which is incompatible.
[DEBUG]: torch 2.6.0+cu124 requires nvidia-cusolver-cu12==11.6.1.9; platform_system == "Linux" and platform_machine == "x86_64", but you have nvidia-cusolver-cu12 11.6.3.83 which is incompatible.
[DEBUG]: torch 2.6.0+cu124 requires nvidia-cusparse-cu12==12.3.1.170; platform_system == "Linux" and platform_machine == "x86_64", but you have nvidia-cusparse-cu12 12.5.1.3 which is incompatible.
[DEBUG]: torch 2.6.0+cu124 requires nvidia-nvjitlink-cu12==12.4.127; platform_system == "Linux" and platform_machine == "x86_64", but you have nvidia-nvjitlink-cu12 12.5.82 which is incompatible.
[DEBUG]: Successfully installed build-1.2.2.post1 distlib-0.3.9 filelock-3.18.0 packaging-25.0 pip-25.1.1 platformdirs-4.3.8 pyproject_hooks-1.2.0 virtualenv-20.31.2
[DEBUG]: -> running cp /content/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/native-build/python3 /content/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/python3/arm64-v8a__ndk_target_21/python3/android-build/python3
[INFO]: -> directory context /content/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/Pillow/arm64-v8a__ndk_target_21/Pillow
[DEBUG]: -> running python3 -m build --wheel --config-setting builddir=/content/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/Pillow/arm64-v8a__ndk_target_21/Pillow/p4a_android_build
[DEBUG]: Traceback (most recent call last):
[DEBUG]: File "/content/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/Lib/runpy.py", line 188, in _run_module_as_main
[DEBUG]: mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
[DEBUG]: File "/content/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/Lib/runpy.py", line 147, in _get_module_details
[DEBUG]: return _get_module_details(pkg_main_name, error)
[DEBUG]: File "/content/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/Lib/runpy.py", line 111, in _get_module_details
[DEBUG]: import(pkg_name)
[DEBUG]: File "/content/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/native-build/Lib/site-packages/build/init.py", line 7, in
[DEBUG]: from ._builder import ProjectBuilder
[DEBUG]: File "/content/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/native-build/Lib/site-packages/build/_builder.py", line 19, in
[DEBUG]: from ._compat import tomllib
[DEBUG]: File "/content/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/native-build/Lib/site-packages/build/_compat/tomllib.py", line 9, in
[DEBUG]: from tomli import TOMLDecodeError, load, loads
[DEBUG]: ModuleNotFoundError: No module named 'tomli'
Exception in thread background thread for pid 62159:
Traceback (most recent call last):
File "/usr/lib/python3.11/threading.py", line 1045, in _bootstrap_inner
self.run()
File "/usr/lib/python3.11/threading.py", line 982, in run
self._target(*self._args, **self._kwargs)
File "/usr/local/lib/python3.11/dist-packages/sh.py", line 1642, in wrap
fn(*rgs, **kwargs)
File "/usr/local/lib/python3.11/dist-packages/sh.py", line 2647, in background_thread
handle_exit_code(exit_code)
File "/usr/local/lib/python3.11/dist-packages/sh.py", line 2338, in fn
return self.command.handle_command_exit_code(exit_code)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/sh.py", line 823, in handle_command_exit_code
raise exc
sh.ErrorReturnCode_1:
RAN: /content/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/python3/arm64-v8a__ndk_target_21/python3/android-build/python3 -m build --wheel --config-setting builddir=/content/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/Pillow/arm64-v8a__ndk_target_21/Pillow/p4a_android_build
STDOUT:
Traceback (most recent call last):
File "/content/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/Lib/runpy.py", line 188, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File "/content/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/Lib/runpy.py", line 147, in _get_module_details
return _get_module_details(pkg_main_name, error)
File "/content/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/Lib/runpy.py", line 111, in _get_module_details
import(pkg_name)
File "/content/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/native-build/Lib/site-packages/build/init.py", line 7, in
from ._builder import ProjectBuilder
File "/content/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/native-build/Lib/site-packages/build/_builder.py", line 19, in
from ._compat import tomllib
File "/content/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/native-build/Lib/site-packages/build/_compat/tomllib.py", line 9, in
from tomli import TOMLDecodeError, load, loads
ModuleNotFoundError: No module named 'tomli'
STDERR:
Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in _run_code
File "/content/.buildozer/android/platform/python-for-android/pythonforandroid/toolchain.py", line 1246, in
main()
File "/content/.buildozer/android/platform/python-for-android/pythonforandroid/entrypoints.py", line 18, in main
ToolchainCL()
File "/content/.buildozer/android/platform/python-for-android/pythonforandroid/toolchain.py", line 677, in init
getattr(self, command)(args)
File "/content/.buildozer/android/platform/python-for-android/pythonforandroid/toolchain.py", line 104, in wrapper_func
build_dist_from_args(ctx, dist, args)
File "/content/.buildozer/android/platform/python-for-android/pythonforandroid/toolchain.py", line 163, in build_dist_from_args
build_recipes(build_order, python_modules, ctx,
File "/content/.buildozer/android/platform/python-for-android/pythonforandroid/build.py", line 504, in build_recipes
recipe.build_arch(arch)
File "/content/.buildozer/android/platform/python-for-android/pythonforandroid/recipe.py", line 1281, in build_arch
shprint(
File "/content/.buildozer/android/platform/python-for-android/pythonforandroid/logger.py", line 167, in shprint
for line in output:
File "/usr/local/lib/python3.11/dist-packages/sh.py", line 879, in next
self.wait()
File "/usr/local/lib/python3.11/dist-packages/sh.py", line 796, in wait
self.handle_command_exit_code(exit_code)
File "/usr/local/lib/python3.11/dist-packages/sh.py", line 823, in handle_command_exit_code
raise exc
sh.ErrorReturnCode_1:
RAN: /content/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/python3/arm64-v8a__ndk_target_21/python3/android-build/python3 -m build --wheel --config-setting builddir=/content/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/Pillow/arm64-v8a__ndk_target_21/Pillow/p4a_android_build
STDOUT:
Traceback (most recent call last):
File "/content/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/Lib/runpy.py", line 188, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File "/content/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/Lib/runpy.py", line 147, in _get_module_details
return _get_module_details(pkg_main_name, error)
File "/content/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/Lib/runpy.py", line 111, in _get_module_details
import(pkg_name)
File "/content/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/native-build/Lib/site-packages/build/init.py", line 7, in
from ._builder import ProjectBuilder
File "/content/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/native-build/Lib/site-packages/build/_builder.py", line 19, in
from ._compat import tomllib
File "/content/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/native-build/Lib/site-packages/build/_compat/tomllib.py", line 9, in
from tomli import TOMLDecodeError, load, loads
ModuleNotFoundError: No module named 'tomli'
Hi @GitUtk i have tried using your method to compile my app into apk on google colab but everytime the process crashes.I have attached the error log below.Kindly assist if you have successfully created the apk without any issues Kindly.
[INFO]: Building Pillow for arm64-v8a
[INFO]: PIL apparently isn't already in site-packages
[DEBUG]: -> running pip install build[virtualenv] pip --target /content/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/native-build/Lib/site-packages --python-version 3.9.12 --only-binary=:all: --upgrade
[DEBUG]: Collecting pip
[DEBUG]: Using cached pip-25.1.1-py3-none-any.whl.metadata (3.6 kB)
[DEBUG]: Collecting build[virtualenv]
[DEBUG]: Using cached build-1.2.2.post1-py3-none-any.whl.metadata (6.5 kB)
[DEBUG]: Collecting packaging>=19.1 (from build[virtualenv])
[DEBUG]: Using cached packaging-25.0-py3-none-any.whl.metadata (3.3 kB)
[DEBUG]: Collecting pyproject_hooks (from build[virtualenv])
[DEBUG]: Using cached pyproject_hooks-1.2.0-py3-none-any.whl.metadata (1.3 kB)
[DEBUG]: Collecting virtualenv>=20.0.35 (from build[virtualenv])
[DEBUG]: Using cached virtualenv-20.31.2-py3-none-any.whl.metadata (4.5 kB)
[DEBUG]: Collecting distlib<1,>=0.3.7 (from virtualenv>=20.0.35->build[virtualenv])
[DEBUG]: Using cached distlib-0.3.9-py2.py3-none-any.whl.metadata (5.2 kB)
[DEBUG]: Collecting filelock<4,>=3.12.2 (from virtualenv>=20.0.35->build[virtualenv])
[DEBUG]: Using cached filelock-3.18.0-py3-none-any.whl.metadata (2.9 kB)
[DEBUG]: Collecting platformdirs<5,>=3.9.1 (from virtualenv>=20.0.35->build[virtualenv])
[DEBUG]: Using cached platformdirs-4.3.8-py3-none-any.whl.metadata (12 kB)
[DEBUG]: Using cached build-1.2.2.post1-py3-none-any.whl (22 kB)
[DEBUG]: Using cached pip-25.1.1-py3-none-any.whl (1.8 MB)
[DEBUG]: Using cached packaging-25.0-py3-none-any.whl (66 kB)
[DEBUG]: Using cached virtualenv-20.31.2-py3-none-any.whl (6.1 MB)
[DEBUG]: Using cached distlib-0.3.9-py2.py3-none-any.whl (468 kB)
[DEBUG]: Using cached filelock-3.18.0-py3-none-any.whl (16 kB)
[DEBUG]: Using cached platformdirs-4.3.8-py3-none-any.whl (18 kB)
[DEBUG]: Using cached pyproject_hooks-1.2.0-py3-none-any.whl (10 kB)
[DEBUG]: Installing collected packages: distlib, pyproject_hooks, platformdirs, pip, packaging, filelock, virtualenv, build
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 8/8 [build]
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
[DEBUG]: langchain-core 0.3.60 requires packaging<25,>=23.2, but you have packaging 25.0 which is incompatible.
[DEBUG]: torch 2.6.0+cu124 requires nvidia-cublas-cu12==12.4.5.8; platform_system == "Linux" and platform_machine == "x86_64", but you have nvidia-cublas-cu12 12.5.3.2 which is incompatible.
[DEBUG]: torch 2.6.0+cu124 requires nvidia-cuda-cupti-cu12==12.4.127; platform_system == "Linux" and platform_machine == "x86_64", but you have nvidia-cuda-cupti-cu12 12.5.82 which is incompatible.
[DEBUG]: torch 2.6.0+cu124 requires nvidia-cuda-nvrtc-cu12==12.4.127; platform_system == "Linux" and platform_machine == "x86_64", but you have nvidia-cuda-nvrtc-cu12 12.5.82 which is incompatible.
[DEBUG]: torch 2.6.0+cu124 requires nvidia-cuda-runtime-cu12==12.4.127; platform_system == "Linux" and platform_machine == "x86_64", but you have nvidia-cuda-runtime-cu12 12.5.82 which is incompatible.
[DEBUG]: torch 2.6.0+cu124 requires nvidia-cudnn-cu12==9.1.0.70; platform_system == "Linux" and platform_machine == "x86_64", but you have nvidia-cudnn-cu12 9.3.0.75 which is incompatible.
[DEBUG]: torch 2.6.0+cu124 requires nvidia-cufft-cu12==11.2.1.3; platform_system == "Linux" and platform_machine == "x86_64", but you have nvidia-cufft-cu12 11.2.3.61 which is incompatible.
[DEBUG]: torch 2.6.0+cu124 requires nvidia-curand-cu12==10.3.5.147; platform_system == "Linux" and platform_machine == "x86_64", but you have nvidia-curand-cu12 10.3.6.82 which is incompatible.
[DEBUG]: torch 2.6.0+cu124 requires nvidia-cusolver-cu12==11.6.1.9; platform_system == "Linux" and platform_machine == "x86_64", but you have nvidia-cusolver-cu12 11.6.3.83 which is incompatible.
[DEBUG]: torch 2.6.0+cu124 requires nvidia-cusparse-cu12==12.3.1.170; platform_system == "Linux" and platform_machine == "x86_64", but you have nvidia-cusparse-cu12 12.5.1.3 which is incompatible.
[DEBUG]: torch 2.6.0+cu124 requires nvidia-nvjitlink-cu12==12.4.127; platform_system == "Linux" and platform_machine == "x86_64", but you have nvidia-nvjitlink-cu12 12.5.82 which is incompatible.
[DEBUG]: Successfully installed build-1.2.2.post1 distlib-0.3.9 filelock-3.18.0 packaging-25.0 pip-25.1.1 platformdirs-4.3.8 pyproject_hooks-1.2.0 virtualenv-20.31.2
[DEBUG]: -> running cp /content/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/native-build/python3 /content/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/python3/arm64-v8a__ndk_target_21/python3/android-build/python3
[INFO]: -> directory context /content/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/Pillow/arm64-v8a__ndk_target_21/Pillow
[DEBUG]: -> running python3 -m build --wheel --config-setting builddir=/content/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/Pillow/arm64-v8a__ndk_target_21/Pillow/p4a_android_build
[DEBUG]: Traceback (most recent call last):
[DEBUG]: File "/content/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/Lib/runpy.py", line 188, in _run_module_as_main
[DEBUG]: mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
[DEBUG]: File "/content/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/Lib/runpy.py", line 147, in _get_module_details
[DEBUG]: return _get_module_details(pkg_main_name, error)
[DEBUG]: File "/content/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/Lib/runpy.py", line 111, in _get_module_details
[DEBUG]: import(pkg_name)
[DEBUG]: File "/content/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/native-build/Lib/site-packages/build/init.py", line 7, in
[DEBUG]: from ._builder import ProjectBuilder
[DEBUG]: File "/content/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/native-build/Lib/site-packages/build/_builder.py", line 19, in
[DEBUG]: from ._compat import tomllib
[DEBUG]: File "/content/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/native-build/Lib/site-packages/build/_compat/tomllib.py", line 9, in
[DEBUG]: from tomli import TOMLDecodeError, load, loads
[DEBUG]: ModuleNotFoundError: No module named 'tomli'
Exception in thread background thread for pid 62159:
Traceback (most recent call last):
File "/usr/lib/python3.11/threading.py", line 1045, in _bootstrap_inner
self.run()
File "/usr/lib/python3.11/threading.py", line 982, in run
self._target(*self._args, **self._kwargs)
File "/usr/local/lib/python3.11/dist-packages/sh.py", line 1642, in wrap
fn(*rgs, **kwargs)
File "/usr/local/lib/python3.11/dist-packages/sh.py", line 2647, in background_thread
handle_exit_code(exit_code)
File "/usr/local/lib/python3.11/dist-packages/sh.py", line 2338, in fn
return self.command.handle_command_exit_code(exit_code)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/sh.py", line 823, in handle_command_exit_code
raise exc
sh.ErrorReturnCode_1:
RAN: /content/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/python3/arm64-v8a__ndk_target_21/python3/android-build/python3 -m build --wheel --config-setting builddir=/content/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/Pillow/arm64-v8a__ndk_target_21/Pillow/p4a_android_build
STDOUT:
Traceback (most recent call last):
File "/content/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/Lib/runpy.py", line 188, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File "/content/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/Lib/runpy.py", line 147, in _get_module_details
return _get_module_details(pkg_main_name, error)
File "/content/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/Lib/runpy.py", line 111, in _get_module_details
import(pkg_name)
File "/content/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/native-build/Lib/site-packages/build/init.py", line 7, in
from ._builder import ProjectBuilder
File "/content/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/native-build/Lib/site-packages/build/_builder.py", line 19, in
from ._compat import tomllib
File "/content/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/native-build/Lib/site-packages/build/_compat/tomllib.py", line 9, in
from tomli import TOMLDecodeError, load, loads
ModuleNotFoundError: No module named 'tomli'
STDERR:
Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in _run_code
File "/content/.buildozer/android/platform/python-for-android/pythonforandroid/toolchain.py", line 1246, in
main()
File "/content/.buildozer/android/platform/python-for-android/pythonforandroid/entrypoints.py", line 18, in main
ToolchainCL()
File "/content/.buildozer/android/platform/python-for-android/pythonforandroid/toolchain.py", line 677, in init
getattr(self, command)(args)
File "/content/.buildozer/android/platform/python-for-android/pythonforandroid/toolchain.py", line 104, in wrapper_func
build_dist_from_args(ctx, dist, args)
File "/content/.buildozer/android/platform/python-for-android/pythonforandroid/toolchain.py", line 163, in build_dist_from_args
build_recipes(build_order, python_modules, ctx,
File "/content/.buildozer/android/platform/python-for-android/pythonforandroid/build.py", line 504, in build_recipes
recipe.build_arch(arch)
File "/content/.buildozer/android/platform/python-for-android/pythonforandroid/recipe.py", line 1281, in build_arch
shprint(
File "/content/.buildozer/android/platform/python-for-android/pythonforandroid/logger.py", line 167, in shprint
for line in output:
File "/usr/local/lib/python3.11/dist-packages/sh.py", line 879, in next
self.wait()
File "/usr/local/lib/python3.11/dist-packages/sh.py", line 796, in wait
self.handle_command_exit_code(exit_code)
File "/usr/local/lib/python3.11/dist-packages/sh.py", line 823, in handle_command_exit_code
raise exc
sh.ErrorReturnCode_1:
RAN: /content/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/python3/arm64-v8a__ndk_target_21/python3/android-build/python3 -m build --wheel --config-setting builddir=/content/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/Pillow/arm64-v8a__ndk_target_21/Pillow/p4a_android_build
STDOUT:
Traceback (most recent call last):
File "/content/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/Lib/runpy.py", line 188, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File "/content/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/Lib/runpy.py", line 147, in _get_module_details
return _get_module_details(pkg_main_name, error)
File "/content/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/Lib/runpy.py", line 111, in _get_module_details
import(pkg_name)
File "/content/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/native-build/Lib/site-packages/build/init.py", line 7, in
from ._builder import ProjectBuilder
File "/content/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/native-build/Lib/site-packages/build/_builder.py", line 19, in
from ._compat import tomllib
File "/content/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/other_builds/hostpython3/desktop/hostpython3/native-build/Lib/site-packages/build/_compat/tomllib.py", line 9, in
from tomli import TOMLDecodeError, load, loads
ModuleNotFoundError: No module named 'tomli'