You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Error when building Android Application with Google modules #2530
Stuck in the issues with moving working code to Android application. Use buildozer spec file. When launching show an error.
from google.cloud import bigquery
from google.oauth2 import service_account
buildozer.spec
Some modules in spec file: python3,kivy==2.0.0,https://github.com/kivymd/KivyMD/archive/master.zip,pillow,beautifulsoup4,numpy,pandas,requests,urllib3,chardet,idna,google-api-core,google-auth,google-auth-oauthlib,google-cloud-bigquery,google-cloud-core,google-cloud-storage,google-cloud-vision,google-crc32c,google-pasta,google-resumable-media,googleapis-common-protos,pyarrow,proto-plus,protobuf,protobuf_cpp,pyasn1,pyasn1_modules,pycparser,sdl2_ttf==2.0.15,pyparsing,rsa,gcloud,asn1crypto,charset-normalizer,google-cloud,google-cloud-bigquery-storage,google-cloud-language,google,grpcio,packaging,python-dateutil,opentelemetry-instrumentation,opentelemetry-exporter-gcp-trace,opentelemetry-api,opentelemetry-sdk,pandas-gbq,oauth2client,google-api-python-client,google-oauth,google-auth-httplib2,oauthlib,pyrebase,requests-toolbelt,python-jwt,pycryptodome,httplib2,jwcrypto,cryptography,openssl,KivyMD,pyasn1-modules,gspread,pyopenssl,credentials,oauth2,cachetools,requests_oauthlib,google.cloud.bigquery,google.cloud.storage,bigquery,six
Logs
ModuleNotFoundError: No module named 'google.cloud'
ModuleNotFoundError: No module named 'google.oauth2'
changed the title [-]Eroor when building Android Application with Google modules[/-][+]Error when building Android Application with Google modules[/+]on Dec 8, 2021
Activity
[-]Eroor when building Android Application with Google modules[/-][+]Error when building Android Application with Google modules[/+]Sampleqs commentedon Dec 8, 2021
@misl6
Also some examples:
https://groups.google.com/g/kivy-users/c/c6biPoImT1w (what about some other modules?)
https://stackoverflow.com/questions/64452170/kivy-buildozer-firestore-error-modulenotfounderror-no-module-named-google-cl/70265284#70265284 (how can I do that with Google Colab?)
https://stackoverflow.com/questions/62764550/how-to-correctly-implement-the-google-api-on-a-kivy-application-compiling-with-b/70265412#70265412 (not working)
Guess that more modules can fix "no module" error, also I try with few modules.
Seems, like Google modules launch from some folder. But I don't know how to specify it in buildozer file.