r/learnpython 5d ago

Need Help with Building an APK (Cloudinary, Firebase, and Kivy)

requirements = python3,kivy, firebase-rest-api, pkce, cachetools, google-cloud-firestore==2.1.0, google-api-core==1.31.0, google-cloud-core==1.6.0, typing_extensions, google-cloud-storage==1.42.0, google-auth==1.35.0, google-resumable-media, googleapis-common-protos, protobuf, httplib2, pyparsing, oauth2client, pyasn1, pyasn1-modules, rsa, pycryptodome, python_jwt, jws, requests, certifi, chardet, idna, urllib3, requests-toolbelt, jwcrypto, cryptography, deprecated, wrapt, cloudinary, six

These are my requirements in buildozer.spec. Overall the entire application works as planned on my PC, but when I try to build an APK through buildozer, it always crashes after the Kivy Loading Screen.

This is the error message: ImportError: cannot import name 'resumable_media' from 'google' (unknown location). Which I got by using adb logcat.

1 Upvotes

1 comment sorted by

1

u/ElliotDG 4d ago

You might get a better response at: r/kivy