pythonkivybuildozer

buildozer not able to convert my kivy file into an apk file in google collab


[INFO]:    Downloading openssl
[INFO]:    -> directory context /content/.buildozer/android/platform/build-arm64-v8a_armeabi- 
v7a/packages/openssl
[DEBUG]:   -> running basename https://www.openssl.org/source/openssl-1.1.1m.tar.gz
[DEBUG]:    openssl-1.1.1m.tar.gz
[DEBUG]:   Downloading openssl from https://www.openssl.org/source/openssl-1.1.1m.tar.gz
[DEBUG]:   -> running rm -f .mark-openssl-1.1.1m.tar.gz
[INFO]:    Downloading openssl from https://www.openssl.org/source/openssl-1.1.1m.tar.gz
Traceback (most recent call last):
  File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/content/.buildozer/android/platform/python-for-android/pythonforandroid/toolchain.py", line 1262, in <module>

urllib.error.HTTPError: HTTP Error 404: Not Found
Download failed: HTTP Error 404: Not Found; retrying in 1 second(s)...Download failed: HTTP Error 404: Not Found; retrying in 2 second(s)...Download failed: HTTP Error 404: Not Found; retrying in 4 second(s)...Download failed: HTTP Error 404: Not Found; retrying in 8 second(s)...# Command failed: ['/usr/bin/python3', '-m', 'pythonforandroid.toolchain', 'create', '--dist_name=spamdetector', '--bootstrap=sdl2', '--requirements=python3,kivy,nltk,pickle,python-for-android,libffi', '--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']

Solution

  • Page Not Found Sorry, but the link you gave does not exist.

    https://www.openssl.org/source/openssl-1.1.1m.tar.gz

    but https://www.openssl.org/source/old/index.html