Buildozer python3 google module not found

194 views
Skip to first unread message

Andrea Lattaruolo

unread,
Mar 19, 2020, 7:16:55 AM3/19/20
to Kivy users support
Hi I m building an app with buildozer and python3, while trying to satisfy all the requirements I found that the google module isn't loaded correctly Here are the buildozer spec and logcat:
[app]

# (str) Title of your application
title = CoViD-19 HeLp

# (str) Package name
package.name = myapp

# (str) Package domain (needed for android/ios packaging)
package.domain = org.test

# (str) Source code where the main.py live
source.dir = .

# (list) Source files to include (let empty to include all the files)
source.include_exts = py,png,jpg,kv,atlas

# (list) List of inclusions using pattern matching
#source.include_patterns = assets/*,images/*.png

# (list) Source files to exclude (let empty to not exclude anything)
#source.exclude_exts = spec

# (list) List of directory to exclude (let empty to not exclude anything)
#source.exclude_dirs = tests, bin

# (list) List of exclusions using pattern matching
#source.exclude_patterns = license,images/*/*.jpg

# (str) Application versioning (method 1)
version = 0.1

# (str) Application versioning (method 2)
# version.regex = __version__ = ['"](.*)['"]
# version.filename = %(source.dir)s/main.py

# (list) Application requirements
# comma separated e.g. requirements = sqlite3,kivy
requirements = python3,kivy,kivymd,pyrebase,requests,oauth2client,httplib2,pyasn1,pyasn1_modules,rsa,gcloud,google

# (str) Custom source folders for requirements
# Sets custom source for any requirements with recipes
# requirements.source.kivy = ../../kivy

# (list) Garden requirements
#garden_requirements =

# (str) Presplash of the application
#presplash.filename = %(source.dir)s/data/presplash.png

# (str) Icon of the application
#icon.filename = %(source.dir)s/data/icon.png

# (str) Supported orientation (one of landscape, sensorLandscape, portrait or all)
orientation = portrait

# (list) List of service to declare
#services = NAME:ENTRYPOINT_TO_PY,NAME2:ENTRYPOINT2_TO_PY

#
# OSX Specific
#

#
# author = © Copyright Info

# change the major version of python used by the app
osx.python_version = 3

# Kivy version to use
osx.kivy_version = 1.9.1

#
# Android specific
#

# (bool) Indicate if the application should be fullscreen or not
fullscreen = 0

# (string) Presplash background color (for new android toolchain)
# Supported formats are: #RRGGBB #AARRGGBB or one of the following names:
# red, blue, green, black, white, gray, cyan, magenta, yellow, lightgray,
# darkgray, grey, lightgrey, darkgrey, aqua, fuchsia, lime, maroon, navy,
# olive, purple, silver, teal.
#android.presplash_color = #FFFFFF

# (list) Permissions
android.permissions = INTERNET

# (int) Target Android API, should be as high as possible.
#android.api = 27

# (int) Minimum API your APK will support.
#android.minapi = 21

# (int) Android SDK version to use
#android.sdk = 20

# (str) Android NDK version to use
#android.ndk = 17c

# (int) Android NDK API to use. This is the minimum API your app will support, it should usually match android.minapi.
#android.ndk_api = 21

# (bool) Use --private data storage (True) or --dir public storage (False)
#android.private_storage = True

# (str) Android NDK directory (if empty, it will be automatically downloaded.)
#android.ndk_path =

# (str) Android SDK directory (if empty, it will be automatically downloaded.)
#android.sdk_path =

# (str) ANT directory (if empty, it will be automatically downloaded.)
#android.ant_path =

# (bool) If True, then skip trying to update the Android sdk
# This can be useful to avoid excess Internet downloads or save time
# when an update is due and you just want to test/build your package
# android.skip_update = False

# (bool) If True, then automatically accept SDK license
# agreements. This is intended for automation only. If set to False,
# the default, you will be shown the license when first running
# buildozer.
# android.accept_sdk_license = False

# (str) Android entry point, default is ok for Kivy-based app
#android.entrypoint = org.renpy.android.PythonActivity

# (str) Android app theme, default is ok for Kivy-based app
# android.apptheme = "@android:style/Theme.NoTitleBar"

# (list) Pattern to whitelist for the whole project
#android.whitelist =

# (str) Path to a custom whitelist file
#android.whitelist_src =

# (str) Path to a custom blacklist file
#android.blacklist_src =

# (list) List of Java .jar files to add to the libs so that pyjnius can access
# their classes. Don't add jars that you do not need, since extra jars can slow
# down the build process. Allows wildcards matching, for example:
# OUYA-ODK/libs/*.jar
#android.add_jars = foo.jar,bar.jar,path/to/more/*.jar

# (list) List of Java files to add to the android project (can be java or a
# directory containing the files)
#android.add_src =

# (list) Android AAR archives to add (currently works only with sdl2_gradle
# bootstrap)
#android.add_aars =

# (list) Gradle dependencies to add (currently works only with sdl2_gradle
# bootstrap)
#android.gradle_dependencies =

# (list) add java compile options
# this can for example be necessary when importing certain java libraries using the 'android.gradle_dependencies' option
# android.add_compile_options = "sourceCompatibility = 1.8", "targetCompatibility = 1.8"

# (list) Gradle repositories to add {can be necessary for some android.gradle_dependencies}
# please enclose in double quotes 
# e.g. android.gradle_repositories = "maven { url 'https://kotlin.bintray.com/ktor' }"
#android.add_gradle_repositories =

# (list) packaging options to add 
# can be necessary to solve conflicts in gradle_dependencies
# please enclose in double quotes 
# e.g. android.add_packaging_options = "exclude 'META-INF/common.kotlin_module'", "exclude 'META-INF/*.kotlin_module'"
#android.add_gradle_repositories =

# (list) Java classes to add as activities to the manifest.
#android.add_activities = com.example.ExampleActivity

# (str) OUYA Console category. Should be one of GAME or APP
# If you leave this blank, OUYA support will not be enabled
#android.ouya.category = GAME

# (str) Filename of OUYA Console icon. It must be a 732x412 png image.
#android.ouya.icon.filename = %(source.dir)s/data/ouya_icon.png

# (str) XML file to include as an intent filters in <activity> tag
#android.manifest.intent_filters =

# (str) launchMode to set for the main activity
#android.manifest.launch_mode = standard

# (list) Android additional libraries to copy into libs/armeabi
#android.add_libs_armeabi = libs/android/*.so
#android.add_libs_armeabi_v7a = libs/android-v7/*.so
#android.add_libs_arm64_v8a = libs/android-v8/*.so
#android.add_libs_x86 = libs/android-x86/*.so
#android.add_libs_mips = libs/android-mips/*.so

# (bool) Indicate whether the screen should stay on
# Don't forget to add the WAKE_LOCK permission if you set this to True
#android.wakelock = False

# (list) Android application meta-data to set (key=value format)
#android.meta_data =

# (list) Android library project to add (will be added in the
# project.properties automatically.)
#android.library_references =

# (list) Android shared libraries which will be added to AndroidManifest.xml using <uses-library> tag
#android.uses_library =

# (str) Android logcat filters to use
android.logcat_filters = *:S python:D

# (bool) Copy library instead of making a libpymodules.so
#android.copy_libs = 1

# (str) The Android arch to build for, choices: armeabi-v7a, arm64-v8a, x86, x86_64
android.arch = armeabi-v7a

#
# Python for android (p4a) specific
#

# (str) python-for-android fork to use, defaults to upstream (kivy)
#p4a.fork = kivy

# (str) python-for-android branch to use, defaults to master
#p4a.branch = master

# (str) python-for-android git clone directory (if empty, it will be automatically cloned from github)
#p4a.source_dir =

# (str) The directory in which python-for-android should look for your own build recipes (if any)
#p4a.local_recipes =

# (str) Filename to the hook for p4a
#p4a.hook =

# (str) Bootstrap to use for android builds
# p4a.bootstrap = sdl2

# (int) port number to specify an explicit --port= p4a argument (eg for bootstrap flask)
#p4a.port =


#
# iOS specific
#

# (str) Path to a custom kivy-ios folder
#ios.kivy_ios_dir = ../kivy-ios
# Alternately, specify the URL and branch of a git checkout:
ios.kivy_ios_branch = master

# Another platform dependency: ios-deploy
# Uncomment to use a custom checkout
#ios.ios_deploy_dir = ../ios_deploy
# Or specify URL and branch
ios.ios_deploy_branch = 1.7.0

# (str) Name of the certificate to use for signing the debug version
# Get a list of available identities: buildozer ios list_identities
#ios.codesign.debug = "iPhone Developer: <lastname> <firstname> (<hexstring>)"

# (str) Name of the certificate to use for signing the release version
#ios.codesign.release = %(ios.codesign.debug)s


[buildozer]

# (int) Log level (0 = error only, 1 = info, 2 = debug (with command output))
log_level = 2

# (int) Display warning if buildozer is run as root (0 = False, 1 = True)
warn_on_root = 1

# (str) Path to build artifact storage, absolute or relative to spec file
# build_dir = ./.buildozer

# (str) Path to build output (i.e. .apk, .ipa) storage
# bin_dir = ./bin

#    -----------------------------------------------------------------------------
#    List as sections
#
#    You can define all the "list" as [section:key].
#    Each line will be considered as a option to the list.
#    Let's take [app] / source.exclude_patterns.
#    Instead of doing:
#
#[app]
#source.exclude_patterns = license,data/audio/*.wav,data/images/original/*
#
#    This can be translated into:
#
#[app:source.exclude_patterns]
#license
#data/audio/*.wav
#data/images/original/*
#


#    -----------------------------------------------------------------------------
#    Profiles
#
#    You can extend section / key with a profile
#    For example, you want to deploy a demo version of your application without
#    HD content. You could first change the title to add "(demo)" in the name
#    and extend the excluded directories to remove the HD content.
#
#[app@demo]
#title = My Application (demo)
#
#[app:source.exclude_patterns@demo]
#images/hd/*
#
#    Then, invoke the command line with the "demo" profile:
#
#buildozer --profile demo android debug

[DEBUG]:    BUILD SUCCESSFUL in 1s
[DEBUG]:    27 actionable tasks: 4 executed, 23 up-to-date

[INFO]:    <- directory context /home/mithra/Documents/corona/.buildozer/android/platform/python-for-android
[INFO]:    # Copying APK to current directory
[INFO]:    # APK filename not found in build output. Guessing...
[INFO]:    # Found APK file: /home/mithra/Documents/corona/.buildozer/android/platform/build-armeabi-v7a/dists/myapp__armeabi-v7a/build/outputs/apk/debug/myapp__armeabi-v7a-debug.apk
[INFO]:    # Add version number to APK
[INFO]:    # APK renamed to myapp__armeabi-v7a-debug-0.1-.apk
[DEBUG]:   -> running cp /home/mithra/Documents/corona/.buildozer/android/platform/build-armeabi-v7a/dists/myapp__armeabi-v7a/build/outputs/apk/debug/myapp__armeabi-v7a-debug.apk myapp__armeabi-v7a-debug-0.1-.apk
WARNING: Received a --sdk argument, but this argument is deprecated and does nothing.
No compiled python is present to zip, skipping.
No setup.py/pyproject.toml used, copying full private data into .apk.
Applying Java source code patches...
Applying patch: src/patches/SDLActivity.java.patch
Warning: failed to apply patch (exit code 1), assuming it is already applied: src/patches/SDLActivity.java.patch
# Android packaging done!
# APK myapp-0.1-armeabi-v7a-debug.apk available in the bin directory
# Run '/home/mithra/.buildozer/android/platform/android-sdk/platform-tools/adb devices'
# Cwd None
List of devices attached
N9Q7N16B08000341 device

# Deploy on N9Q7N16B08000341
# Run '/home/mithra/.buildozer/android/platform/android-sdk/platform-tools/adb install -r "/home/mithra/Documents/corona/bin/myapp-0.1-armeabi-v7a-debug.apk"'
# Cwd /home/mithra/.buildozer/android/platform
Performing Streamed Install
Success
# Application pushed.
# Run on N9Q7N16B08000341
# Run '/home/mithra/.buildozer/android/platform/android-sdk/platform-tools/adb shell am start -n org.test.myapp/org.kivy.android.PythonActivity -a org.kivy.android.PythonActivity'
# Cwd /home/mithra/.buildozer/android/platform
Starting: Intent { act=org.kivy.android.PythonActivity cmp=org.test.myapp/org.kivy.android.PythonActivity }
# Application started.
# Run 'dpkg --version'
# Cwd None
Debian 'dpkg' package management program version 1.19.0.5 (amd64).
This is free software; see the GNU General Public License version 2 or
later for copying conditions. There is NO warranty.
# Search for Git (git)
#  -> found at /usr/bin/git
# Search for Cython (cython)
#  -> found at /home/mithra/.local/bin/cython
# Search for Java compiler (javac)
#  -> found at /usr/lib/jvm/java-8-openjdk-amd64/bin/javac
# Search for Java keytool (keytool)
#  -> found at /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/keytool
# Run '/home/mithra/.buildozer/android/platform/android-sdk/platform-tools/adb logcat *:S python:D'
# Cwd /home/mithra/.buildozer/android/platform
int logctl_get(): open '/dev/hwlog_switch' fail -1, 13. Permission denied

Note: log switch off, only log_main and log_events will have logs!
--------- beginning of crash
--------- beginning of main
03-19 11:51:04.202 22846 22880 I python  : Initializing Python for Android
03-19 11:51:04.202 22846 22880 I python  : Setting additional env vars from p4a_env_vars.txt
03-19 11:51:04.202 22846 22880 I python  : Changing directory to the one provided by ANDROID_ARGUMENT
03-19 11:51:04.202 22846 22880 I python  : /data/user/0/org.test.myapp/files/app
03-19 11:51:04.202 22846 22880 I python  : Preparing to initialize python
03-19 11:51:04.202 22846 22880 I python  : _python_bundle dir exists
03-19 11:51:04.202 22846 22880 I python  : calculated paths to be...
03-19 11:51:04.202 22846 22880 I python  : /data/user/0/org.test.myapp/files/app/_python_bundle/stdlib.zip:/data/user/0/org.test.myapp/files/app/_python_bundle/modules
03-19 11:51:04.202 22846 22880 I python  : set wchar paths...
03-19 11:51:04.228 22846 22880 I python  : Initialized python
03-19 11:51:04.228 22846 22880 I python  : AND: Init threads
03-19 11:51:04.229 22846 22880 I python  : testing python print redirection
03-19 11:51:04.229 22846 22880 I python  : Android path ['.', '/data/user/0/org.test.myapp/files/app/_python_bundle/stdlib.zip', '/data/user/0/org.test.myapp/files/app/_python_bundle/modules', '/data/user/0/org.test.myapp/files/app/_python_bundle/site-packages']
03-19 11:51:04.230 22846 22880 I python  : os.environ is environ({'PATH': '/sbin:/vendor/bin:/system/sbin:/system/bin:/system/xbin:/system/vendor/bin:/vendor/xbin:/system/vendor/xbin:/product/bin:/product/xbin', 'ANDROID_BOOTLOGO': '1', 'ANDROID_ROOT': '/system', 'ANDROID_ASSETS': '/system/app', 'ANDROID_DATA': '/data', 'ANDROID_STORAGE': '', 'EXTERNAL_STORAGE': '/sdcard', 'ASEC_MOUNTPOINT': '/mnt/asec', 'BOOTCLASSPATH': '/system/framework/core-oj.jar:/system/framework/core-libart.jar:/system/framework/conscrypt.jar:/system/framework/okhttp.jar:/system/framework/core-junit.jar:/system/framework/bouncycastle.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/telephony-common.jar:/system/framework/voip-common.jar:/system/framework/ims-common.jar:/system/framework/apache-xml.jar:/system/framework/org.apache.http.legacy.boot.jar:/system/framework/hwEmui.jar:/system/framework/hwTelephony-common.jar:/system/framework/hwframework.jar:/system/framework/org.simalliance.openmobileapi.jar:/system/framework/org.ifaa.android.manager.jar:/system/framework/hwaps.jar:/system/framework/hwcustEmui.jar:/system/framework/hwcustTelephony-common.jar:/system/framework/hwcustframework.jar', 'SYSTEMSERVERCLASSPATH': '/system/framework/services.jar:/system/framework/ethernet-service.jar:/system/framework/wifi-service.jar:/system/framework/hwServices.jar:/system/framework/hwWifi-service.jar:/system/framework/hwcustServices.jar:/system/framework/hwcustwifi-service.jar', 'EXTERNAL_STORAGE_DOCOMO': '/storage/sdcard1', 'OEM_ROOT': '/hw_oem', 'CUST_POLICY_DIRS': '/system/emui/base:/system/emui/oversea:/system/global:/vendor/etc:/product/etc:/hw_oem:/cust/hw/normal:/cust/hw/eu:/cust_comm:/version/region_comm/oversea:/cust_spec', 'ANDROID_SOCKET_zygote_secondary': '15', 'ANDROID_ENTRYPOINT': 'main.pyc', 'ANDROID_ARGUMENT': '/data/user/0/org.test.myapp/files/app', 'ANDROID_APP_PATH': '/data/user/0/org.test.myapp/files/app', 'ANDROID_PRIVATE': '/data/user/0/org.test.myapp/files', 'ANDROID_UNPACK': '/data/user/0/org.test.myapp/files/app', 'PYTHONHOME': '/data/user/0/org.test.myapp/files/app', 'PYTHONPATH': '/data/user/0/org.test.myapp/files/app:/data/user/0/org.test.myapp/files/app/lib', 'PYTHONOPTIMIZE': '2', 'P4A_BOOTSTRAP': 'SDL2', 'PYTHON_NAME': 'python', 'P4A_IS_WINDOWED': 'True', 'P4A_ORIENTATION': 'portrait', 'P4A_NUMERIC_VERSION': 'None', 'P4A_MINSDK': '21', 'LC_CTYPE': 'C.UTF-8'})
03-19 11:51:04.230 22846 22880 I python  : Android kivy bootstrap done. __name__ is __main__
03-19 11:51:04.230 22846 22880 I python  : AND: Ran string
03-19 11:51:04.230 22846 22880 I python  : Run user program, change dir and execute entrypoint
03-19 11:51:04.337 22846 22880 I python  : [INFO   ] [Logger      ] Record log in /data/user/0/org.test.myapp/files/app/.kivy/logs/kivy_20-03-19_1.txt
03-19 11:51:04.337 22846 22880 I python  : [INFO   ] [Kivy        ] v1.11.1
03-19 11:51:04.337 22846 22880 I python  : [INFO   ] [Kivy        ] Installed at "/data/user/0/org.test.myapp/files/app/_python_bundle/site-packages/kivy/__init__.pyc"
03-19 11:51:04.337 22846 22880 I python  : [INFO   ] [Python      ] v3.7.1 (default, Mar 18 2020, 00:16:26) 
03-19 11:51:04.337 22846 22880 I python  : [Clang 8.0.2 (https://android.googlesource.com/toolchain/clang 40173bab62ec7462
03-19 11:51:04.337 22846 22880 I python  : [INFO   ] [Python      ] Interpreter at "android_python"
03-19 11:51:04.341 22846 22880 I python  : [INFO   ] [Factory     ] 184 symbols loaded
03-19 11:51:04.911 22846 22880 I python  : [INFO   ] [Image       ] Providers: img_tex, img_dds, img_sdl2, img_gif (img_pil, img_ffpyplayer ignored)
03-19 11:51:04.941 22846 22880 I python  : [INFO   ] [Window      ] Provider: sdl2
03-19 11:51:04.955 22846 22880 I python  : [INFO   ] [GL          ] Using the "OpenGL ES 2" graphics system
03-19 11:51:04.956 22846 22880 I python  : [INFO   ] [GL          ] Backend used <sdl2>
03-19 11:51:04.956 22846 22880 I python  : [INFO   ] [GL          ] OpenGL version <b'OpenGL ES 3.2 v1.r12p1-04bet0.76b1d268c59a490265a02c702c8aa55c'>
03-19 11:51:04.956 22846 22880 I python  : [INFO   ] [GL          ] OpenGL vendor <b'ARM'>
03-19 11:51:04.956 22846 22880 I python  : [INFO   ] [GL          ] OpenGL renderer <b'Mali-T880'>
03-19 11:51:04.956 22846 22880 I python  : [INFO   ] [GL          ] OpenGL parsed version: 3, 2
03-19 11:51:04.957 22846 22880 I python  : [INFO   ] [GL          ] Texture max size <8192>
03-19 11:51:04.957 22846 22880 I python  : [INFO   ] [GL          ] Texture max units <16>
03-19 11:51:04.980 22846 22880 I python  : [INFO   ] [Window      ] auto add sdl2 input provider
03-19 11:51:04.981 22846 22880 I python  : [INFO   ] [Window      ] virtual keyboard not allowed, single mode, not docked
03-19 11:51:04.982 22846 22880 I python  : [INFO   ] [KivyMD      ] v0.104.0
03-19 11:51:04.991 22846 22880 I python  : [INFO   ] [Text        ] Provider: sdl2
03-19 11:51:05.051 22846 22880 I python  : [INFO   ] [GL          ] NPOT texture support is available
03-19 11:51:05.657 22846 22880 I python  :  Traceback (most recent call last):
03-19 11:51:05.657 22846 22880 I python  :    File "/home/mithra/Documents/corona/.buildozer/android/app/main.py", line 22, in <module>
03-19 11:51:05.657 22846 22880 I python  :    File "/home/mithra/Documents/corona/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/myapp/pyrebase/__init__.py", line 1, in <module>
03-19 11:51:05.657 22846 22880 I python  :    File "/home/mithra/Documents/corona/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/myapp/pyrebase/pyrebase.py", line 18, in <module>
03-19 11:51:05.658 22846 22880 I python  :    File "/home/mithra/Documents/corona/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/myapp/gcloud/storage/__init__.py", line 43, in <module>
03-19 11:51:05.658 22846 22880 I python  :    File "/home/mithra/Documents/corona/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/myapp/gcloud/storage/blob.py", line 31, in <module>
03-19 11:51:05.658 22846 22880 I python  :    File "/home/mithra/Documents/corona/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/myapp/gcloud/_helpers.py", line 28, in <module>
03-19 11:51:05.658 22846 22880 I python  :  ModuleNotFoundError: No module named 'google'
03-19 11:51:05.658 22846 22880 I python  : Python for android ended.
03-19 11:51:52.078 22947 22999 I python  : Initializing Python for Android
03-19 11:51:52.078 22947 22999 I python  : Setting additional env vars from p4a_env_vars.txt
03-19 11:51:52.078 22947 22999 I python  : Changing directory to the one provided by ANDROID_ARGUMENT
03-19 11:51:52.079 22947 22999 I python  : /data/user/0/org.test.myapp/files/app
03-19 11:51:52.079 22947 22999 I python  : Preparing to initialize python
03-19 11:51:52.079 22947 22999 I python  : _python_bundle dir exists
03-19 11:51:52.079 22947 22999 I python  : calculated paths to be...
03-19 11:51:52.079 22947 22999 I python  : /data/user/0/org.test.myapp/files/app/_python_bundle/stdlib.zip:/data/user/0/org.test.myapp/files/app/_python_bundle/modules
03-19 11:51:52.079 22947 22999 I python  : set wchar paths...
03-19 11:51:52.103 22947 22999 I python  : Initialized python
03-19 11:51:52.103 22947 22999 I python  : AND: Init threads
03-19 11:51:52.104 22947 22999 I python  : testing python print redirection
03-19 11:51:52.104 22947 22999 I python  : Android path ['.', '/data/user/0/org.test.myapp/files/app/_python_bundle/stdlib.zip', '/data/user/0/org.test.myapp/files/app/_python_bundle/modules', '/data/user/0/org.test.myapp/files/app/_python_bundle/site-packages']
03-19 11:51:52.105 22947 22999 I python  : os.environ is environ({'PATH': '/sbin:/vendor/bin:/system/sbin:/system/bin:/system/xbin:/system/vendor/bin:/vendor/xbin:/system/vendor/xbin:/product/bin:/product/xbin', 'ANDROID_BOOTLOGO': '1', 'ANDROID_ROOT': '/system', 'ANDROID_ASSETS': '/system/app', 'ANDROID_DATA': '/data', 'ANDROID_STORAGE': '', 'EXTERNAL_STORAGE': '/sdcard', 'ASEC_MOUNTPOINT': '/mnt/asec', 'BOOTCLASSPATH': '/system/framework/core-oj.jar:/system/framework/core-libart.jar:/system/framework/conscrypt.jar:/system/framework/okhttp.jar:/system/framework/core-junit.jar:/system/framework/bouncycastle.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/telephony-common.jar:/system/framework/voip-common.jar:/system/framework/ims-common.jar:/system/framework/apache-xml.jar:/system/framework/org.apache.http.legacy.boot.jar:/system/framework/hwEmui.jar:/system/framework/hwTelephony-common.jar:/system/framework/hwframework.jar:/system/framework/org.simalliance.openmobileapi.jar:/system/framework/org.ifaa.android.manager.jar:/system/framework/hwaps.jar:/system/framework/hwcustEmui.jar:/system/framework/hwcustTelephony-common.jar:/system/framework/hwcustframework.jar', 'SYSTEMSERVERCLASSPATH': '/system/framework/services.jar:/system/framework/ethernet-service.jar:/system/framework/wifi-service.jar:/system/framework/hwServices.jar:/system/framework/hwWifi-service.jar:/system/framework/hwcustServices.jar:/system/framework/hwcustwifi-service.jar', 'EXTERNAL_STORAGE_DOCOMO': '/storage/sdcard1', 'OEM_ROOT': '/hw_oem', 'CUST_POLICY_DIRS': '/system/emui/base:/system/emui/oversea:/system/global:/vendor/etc:/product/etc:/hw_oem:/cust/hw/normal:/cust/hw/eu:/cust_comm:/version/region_comm/oversea:/cust_spec', 'ANDROID_SOCKET_zygote_secondary': '15', 'ANDROID_ENTRYPOINT': 'main.pyc', 'ANDROID_ARGUMENT': '/data/user/0/org.test.myapp/files/app', 'ANDROID_APP_PATH': '/data/user/0/org.test.myapp/files/app', 'ANDROID_PRIVATE': '/data/user/0/org.test.myapp/files', 'ANDROID_UNPACK': '/data/user/0/org.test.myapp/files/app', 'PYTHONHOME': '/data/user/0/org.test.myapp/files/app', 'PYTHONPATH': '/data/user/0/org.test.myapp/files/app:/data/user/0/org.test.myapp/files/app/lib', 'PYTHONOPTIMIZE': '2', 'P4A_BOOTSTRAP': 'SDL2', 'PYTHON_NAME': 'python', 'P4A_IS_WINDOWED': 'True', 'P4A_ORIENTATION': 'portrait', 'P4A_NUMERIC_VERSION': 'None', 'P4A_MINSDK': '21', 'LC_CTYPE': 'C.UTF-8'})
03-19 11:51:52.105 22947 22999 I python  : Android kivy bootstrap done. __name__ is __main__
03-19 11:51:52.105 22947 22999 I python  : AND: Ran string
03-19 11:51:52.105 22947 22999 I python  : Run user program, change dir and execute entrypoint
03-19 11:51:52.189 22947 22999 I python  : [WARNING] [Config      ] Older configuration version detected (0 instead of 21)
03-19 11:51:52.189 22947 22999 I python  : [WARNING] [Config      ] Upgrading configuration in progress.
03-19 11:51:52.192 22947 22999 I python  : [INFO   ] [Logger      ] Record log in /data/user/0/org.test.myapp/files/app/.kivy/logs/kivy_20-03-19_0.txt
03-19 11:51:52.192 22947 22999 I python  : [INFO   ] [Kivy        ] v1.11.1
03-19 11:51:52.192 22947 22999 I python  : [INFO   ] [Kivy        ] Installed at "/data/user/0/org.test.myapp/files/app/_python_bundle/site-packages/kivy/__init__.pyc"
03-19 11:51:52.192 22947 22999 I python  : [INFO   ] [Python      ] v3.7.1 (default, Mar 18 2020, 00:16:26) 
03-19 11:51:52.192 22947 22999 I python  : [Clang 8.0.2 (https://android.googlesource.com/toolchain/clang 40173bab62ec7462
03-19 11:51:52.192 22947 22999 I python  : [INFO   ] [Python      ] Interpreter at "android_python"
03-19 11:51:52.192 22947 22999 I python  : [INFO   ] [Logger      ] Purge log fired. Analysing...
03-19 11:51:52.193 22947 22999 I python  : [INFO   ] [Logger      ] Purge finished!
03-19 11:51:52.196 22947 22999 I python  : [INFO   ] [Factory     ] 184 symbols loaded
03-19 11:51:52.768 22947 22999 I python  : [INFO   ] [Image       ] Providers: img_tex, img_dds, img_sdl2, img_gif (img_pil, img_ffpyplayer ignored)
03-19 11:51:52.797 22947 22999 I python  : [INFO   ] [Window      ] Provider: sdl2
03-19 11:51:52.813 22947 22999 I python  : [INFO   ] [GL          ] Using the "OpenGL ES 2" graphics system
03-19 11:51:52.814 22947 22999 I python  : [INFO   ] [GL          ] Backend used <sdl2>
03-19 11:51:52.814 22947 22999 I python  : [INFO   ] [GL          ] OpenGL version <b'OpenGL ES 3.2 v1.r12p1-04bet0.76b1d268c59a490265a02c702c8aa55c'>
03-19 11:51:52.814 22947 22999 I python  : [INFO   ] [GL          ] OpenGL vendor <b'ARM'>
03-19 11:51:52.814 22947 22999 I python  : [INFO   ] [GL          ] OpenGL renderer <b'Mali-T880'>
03-19 11:51:52.814 22947 22999 I python  : [INFO   ] [GL          ] OpenGL parsed version: 3, 2
03-19 11:51:52.815 22947 22999 I python  : [INFO   ] [GL          ] Texture max size <8192>
03-19 11:51:52.815 22947 22999 I python  : [INFO   ] [GL          ] Texture max units <16>
03-19 11:51:52.844 22947 22999 I python  : [INFO   ] [Window      ] auto add sdl2 input provider
03-19 11:51:52.845 22947 22999 I python  : [INFO   ] [Window      ] virtual keyboard not allowed, single mode, not docked
03-19 11:51:52.846 22947 22999 I python  : [INFO   ] [KivyMD      ] v0.104.0
03-19 11:51:52.855 22947 22999 I python  : [INFO   ] [Text        ] Provider: sdl2
03-19 11:51:52.915 22947 22999 I python  : [INFO   ] [GL          ] NPOT texture support is available
03-19 11:51:53.518 22947 22999 I python  :  Traceback (most recent call last):
03-19 11:51:53.518 22947 22999 I python  :    File "/home/mithra/Documents/corona/.buildozer/android/app/main.py", line 22, in <module>
03-19 11:51:53.518 22947 22999 I python  :    File "/home/mithra/Documents/corona/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/myapp/pyrebase/__init__.py", line 1, in <module>
03-19 11:51:53.519 22947 22999 I python  :    File "/home/mithra/Documents/corona/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/myapp/pyrebase/pyrebase.py", line 18, in <module>
03-19 11:51:53.519 22947 22999 I python  :    File "/home/mithra/Documents/corona/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/myapp/gcloud/storage/__init__.py", line 43, in <module>
03-19 11:51:53.519 22947 22999 I python  :    File "/home/mithra/Documents/corona/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/myapp/gcloud/storage/blob.py", line 31, in <module>
03-19 11:51:53.519 22947 22999 I python  :    File "/home/mithra/Documents/corona/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/myapp/gcloud/_helpers.py", line 28, in <module>
03-19 11:51:53.520 22947 22999 I python  :  ModuleNotFoundError: No module named 'google'
03-19 11:51:53.520 22947 22999 I python  : Python for android ended.
03-19 11:53:38.098 23555 23590 I python  : Initializing Python for Android
03-19 11:53:38.098 23555 23590 I python  : Setting additional env vars from p4a_env_vars.txt
03-19 11:53:38.098 23555 23590 I python  : Changing directory to the one provided by ANDROID_ARGUMENT
03-19 11:53:38.098 23555 23590 I python  : /data/user/0/org.test.myapp/files/app
03-19 11:53:38.098 23555 23590 I python  : Preparing to initialize python
03-19 11:53:38.098 23555 23590 I python  : _python_bundle dir exists
03-19 11:53:38.098 23555 23590 I python  : calculated paths to be...
03-19 11:53:38.098 23555 23590 I python  : /data/user/0/org.test.myapp/files/app/_python_bundle/stdlib.zip:/data/user/0/org.test.myapp/files/app/_python_bundle/modules
03-19 11:53:38.099 23555 23590 I python  : set wchar paths...
03-19 11:53:38.123 23555 23590 I python  : Initialized python
03-19 11:53:38.123 23555 23590 I python  : AND: Init threads
03-19 11:53:38.124 23555 23590 I python  : testing python print redirection
03-19 11:53:38.124 23555 23590 I python  : Android path ['.', '/data/user/0/org.test.myapp/files/app/_python_bundle/stdlib.zip', '/data/user/0/org.test.myapp/files/app/_python_bundle/modules', '/data/user/0/org.test.myapp/files/app/_python_bundle/site-packages']
03-19 11:53:38.125 23555 23590 I python  : os.environ is environ({'PATH': '/sbin:/vendor/bin:/system/sbin:/system/bin:/system/xbin:/system/vendor/bin:/vendor/xbin:/system/vendor/xbin:/product/bin:/product/xbin', 'ANDROID_BOOTLOGO': '1', 'ANDROID_ROOT': '/system', 'ANDROID_ASSETS': '/system/app', 'ANDROID_DATA': '/data', 'ANDROID_STORAGE': '', 'EXTERNAL_STORAGE': '/sdcard', 'ASEC_MOUNTPOINT': '/mnt/asec', 'BOOTCLASSPATH': '/system/framework/core-oj.jar:/system/framework/core-libart.jar:/system/framework/conscrypt.jar:/system/framework/okhttp.jar:/system/framework/core-junit.jar:/system/framework/bouncycastle.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/telephony-common.jar:/system/framework/voip-common.jar:/system/framework/ims-common.jar:/system/framework/apache-xml.jar:/system/framework/org.apache.http.legacy.boot.jar:/system/framework/hwEmui.jar:/system/framework/hwTelephony-common.jar:/system/framework/hwframework.jar:/system/framework/org.simalliance.openmobileapi.jar:/system/framework/org.ifaa.android.manager.jar:/system/framework/hwaps.jar:/system/framework/hwcustEmui.jar:/system/framework/hwcustTelephony-common.jar:/system/framework/hwcustframework.jar', 'SYSTEMSERVERCLASSPATH': '/system/framework/services.jar:/system/framework/ethernet-service.jar:/system/framework/wifi-service.jar:/system/framework/hwServices.jar:/system/framework/hwWifi-service.jar:/system/framework/hwcustServices.jar:/system/framework/hwcustwifi-service.jar', 'EXTERNAL_STORAGE_DOCOMO': '/storage/sdcard1', 'OEM_ROOT': '/hw_oem', 'CUST_POLICY_DIRS': '/system/emui/base:/system/emui/oversea:/system/global:/vendor/etc:/product/etc:/hw_oem:/cust/hw/normal:/cust/hw/eu:/cust_comm:/version/region_comm/oversea:/cust_spec', 'ANDROID_SOCKET_zygote_secondary': '15', 'ANDROID_ENTRYPOINT': 'main.pyc', 'ANDROID_ARGUMENT': '/data/user/0/org.test.myapp/files/app', 'ANDROID_APP_PATH': '/data/user/0/org.test.myapp/files/app', 'ANDROID_PRIVATE': '/data/user/0/org.test.myapp/files', 'ANDROID_UNPACK': '/data/user/0/org.test.myapp/files/app', 'PYTHONHOME': '/data/user/0/org.test.myapp/files/app', 'PYTHONPATH': '/data/user/0/org.test.myapp/files/app:/data/user/0/org.test.myapp/files/app/lib', 'PYTHONOPTIMIZE': '2', 'P4A_BOOTSTRAP': 'SDL2', 'PYTHON_NAME': 'python', 'P4A_IS_WINDOWED': 'True', 'P4A_ORIENTATION': 'portrait', 'P4A_NUMERIC_VERSION': 'None', 'P4A_MINSDK': '21', 'LC_CTYPE': 'C.UTF-8'})
03-19 11:53:38.125 23555 23590 I python  : Android kivy bootstrap done. __name__ is __main__
03-19 11:53:38.125 23555 23590 I python  : AND: Ran string
03-19 11:53:38.125 23555 23590 I python  : Run user program, change dir and execute entrypoint
03-19 11:53:38.224 23555 23590 I python  : [INFO   ] [Logger      ] Record log in /data/user/0/org.test.myapp/files/app/.kivy/logs/kivy_20-03-19_1.txt
03-19 11:53:38.224 23555 23590 I python  : [INFO   ] [Kivy        ] v1.11.1
03-19 11:53:38.224 23555 23590 I python  : [INFO   ] [Kivy        ] Installed at "/data/user/0/org.test.myapp/files/app/_python_bundle/site-packages/kivy/__init__.pyc"
03-19 11:53:38.225 23555 23590 I python  : [INFO   ] [Python      ] v3.7.1 (default, Mar 18 2020, 00:16:26) 
03-19 11:53:38.225 23555 23590 I python  : [Clang 8.0.2 (https://android.googlesource.com/toolchain/clang 40173bab62ec7462
03-19 11:53:38.225 23555 23590 I python  : [INFO   ] [Python      ] Interpreter at "android_python"
03-19 11:53:38.229 23555 23590 I python  : [INFO   ] [Factory     ] 184 symbols loaded
03-19 11:53:38.807 23555 23590 I python  : [INFO   ] [Image       ] Providers: img_tex, img_dds, img_sdl2, img_gif (img_pil, img_ffpyplayer ignored)
03-19 11:53:38.837 23555 23590 I python  : [INFO   ] [Window      ] Provider: sdl2
03-19 11:53:38.851 23555 23590 I python  : [INFO   ] [GL          ] Using the "OpenGL ES 2" graphics system
03-19 11:53:38.852 23555 23590 I python  : [INFO   ] [GL          ] Backend used <sdl2>
03-19 11:53:38.852 23555 23590 I python  : [INFO   ] [GL          ] OpenGL version <b'OpenGL ES 3.2 v1.r12p1-04bet0.76b1d268c59a490265a02c702c8aa55c'>
03-19 11:53:38.852 23555 23590 I python  : [INFO   ] [GL          ] OpenGL vendor <b'ARM'>
03-19 11:53:38.852 23555 23590 I python  : [INFO   ] [GL          ] OpenGL renderer <b'Mali-T880'>
03-19 11:53:38.852 23555 23590 I python  : [INFO   ] [GL          ] OpenGL parsed version: 3, 2
03-19 11:53:38.853 23555 23590 I python  : [INFO   ] [GL          ] Texture max size <8192>
03-19 11:53:38.853 23555 23590 I python  : [INFO   ] [GL          ] Texture max units <16>
03-19 11:53:38.876 23555 23590 I python  : [INFO   ] [Window      ] auto add sdl2 input provider
03-19 11:53:38.877 23555 23590 I python  : [INFO   ] [Window      ] virtual keyboard not allowed, single mode, not docked
03-19 11:53:38.878 23555 23590 I python  : [INFO   ] [KivyMD      ] v0.104.0
03-19 11:53:38.887 23555 23590 I python  : [INFO   ] [Text        ] Provider: sdl2
03-19 11:53:38.949 23555 23590 I python  : [INFO   ] [GL          ] NPOT texture support is available
03-19 11:53:39.558 23555 23590 I python  :  Traceback (most recent call last):
03-19 11:53:39.558 23555 23590 I python  :    File "/home/mithra/Documents/corona/.buildozer/android/app/main.py", line 22, in <module>
03-19 11:53:39.558 23555 23590 I python  :    File "/home/mithra/Documents/corona/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/myapp/pyrebase/__init__.py", line 1, in <module>
03-19 11:53:39.558 23555 23590 I python  :    File "/home/mithra/Documents/corona/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/myapp/pyrebase/pyrebase.py", line 18, in <module>
03-19 11:53:39.558 23555 23590 I python  :    File "/home/mithra/Documents/corona/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/myapp/gcloud/storage/__init__.py", line 43, in <module>
03-19 11:53:39.559 23555 23590 I python  :    File "/home/mithra/Documents/corona/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/myapp/gcloud/storage/blob.py", line 31, in <module>
03-19 11:53:39.559 23555 23590 I python  :    File "/home/mithra/Documents/corona/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/myapp/gcloud/_helpers.py", line 28, in <module>
03-19 11:53:39.559 23555 23590 I python  :  ModuleNotFoundError: No module named 'google'
03-19 11:53:39.559 23555 23590 I python  : Python for android ended.
03-19 11:59:50.551 23842 23897 I python  : Initializing Python for Android
03-19 11:59:50.551 23842 23897 I python  : Setting additional env vars from p4a_env_vars.txt
03-19 11:59:50.551 23842 23897 I python  : Changing directory to the one provided by ANDROID_ARGUMENT
03-19 11:59:50.551 23842 23897 I python  : /data/user/0/org.test.myapp/files/app
03-19 11:59:50.551 23842 23897 I python  : Preparing to initialize python
03-19 11:59:50.551 23842 23897 I python  : _python_bundle dir exists
03-19 11:59:50.551 23842 23897 I python  : calculated paths to be...
03-19 11:59:50.551 23842 23897 I python  : /data/user/0/org.test.myapp/files/app/_python_bundle/stdlib.zip:/data/user/0/org.test.myapp/files/app/_python_bundle/modules
03-19 11:59:50.551 23842 23897 I python  : set wchar paths...
03-19 11:59:50.576 23842 23897 I python  : Initialized python
03-19 11:59:50.576 23842 23897 I python  : AND: Init threads
03-19 11:59:50.576 23842 23897 I python  : testing python print redirection
03-19 11:59:50.577 23842 23897 I python  : Android path ['.', '/data/user/0/org.test.myapp/files/app/_python_bundle/stdlib.zip', '/data/user/0/org.test.myapp/files/app/_python_bundle/modules', '/data/user/0/org.test.myapp/files/app/_python_bundle/site-packages']
03-19 11:59:50.577 23842 23897 I python  : os.environ is environ({'PATH': '/sbin:/vendor/bin:/system/sbin:/system/bin:/system/xbin:/system/vendor/bin:/vendor/xbin:/system/vendor/xbin:/product/bin:/product/xbin', 'ANDROID_BOOTLOGO': '1', 'ANDROID_ROOT': '/system', 'ANDROID_ASSETS': '/system/app', 'ANDROID_DATA': '/data', 'ANDROID_STORAGE': '', 'EXTERNAL_STORAGE': '/sdcard', 'ASEC_MOUNTPOINT': '/mnt/asec', 'BOOTCLASSPATH': '/system/framework/core-oj.jar:/system/framework/core-libart.jar:/system/framework/conscrypt.jar:/system/framework/okhttp.jar:/system/framework/core-junit.jar:/system/framework/bouncycastle.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/telephony-common.jar:/system/framework/voip-common.jar:/system/framework/ims-common.jar:/system/framework/apache-xml.jar:/system/framework/org.apache.http.legacy.boot.jar:/system/framework/hwEmui.jar:/system/framework/hwTelephony-common.jar:/system/framework/hwframework.jar:/system/framework/org.simalliance.openmobileapi.jar:/system/framework/org.ifaa.android.manager.jar:/system/framework/hwaps.jar:/system/framework/hwcustEmui.jar:/system/framework/hwcustTelephony-common.jar:/system/framework/hwcustframework.jar', 'SYSTEMSERVERCLASSPATH': '/system/framework/services.jar:/system/framework/ethernet-service.jar:/system/framework/wifi-service.jar:/system/framework/hwServices.jar:/system/framework/hwWifi-service.jar:/system/framework/hwcustServices.jar:/system/framework/hwcustwifi-service.jar', 'EXTERNAL_STORAGE_DOCOMO': '/storage/sdcard1', 'OEM_ROOT': '/hw_oem', 'CUST_POLICY_DIRS': '/system/emui/base:/system/emui/oversea:/system/global:/vendor/etc:/product/etc:/hw_oem:/cust/hw/normal:/cust/hw/eu:/cust_comm:/version/region_comm/oversea:/cust_spec', 'ANDROID_SOCKET_zygote_secondary': '15', 'ANDROID_ENTRYPOINT': 'main.pyc', 'ANDROID_ARGUMENT': '/data/user/0/org.test.myapp/files/app', 'ANDROID_APP_PATH': '/data/user/0/org.test.myapp/files/app', 'ANDROID_PRIVATE': '/data/user/0/org.test.myapp/files', 'ANDROID_UNPACK': '/data/user/0/org.test.myapp/files/app', 'PYTHONHOME': '/data/user/0/org.test.myapp/files/app', 'PYTHONPATH': '/data/user/0/org.test.myapp/files/app:/data/user/0/org.test.myapp/files/app/lib', 'PYTHONOPTIMIZE': '2', 'P4A_BOOTSTRAP': 'SDL2', 'PYTHON_NAME': 'python', 'P4A_IS_WINDOWED': 'True', 'P4A_ORIENTATION': 'portrait', 'P4A_NUMERIC_VERSION': 'None', 'P4A_MINSDK': '21', 'LC_CTYPE': 'C.UTF-8'})
03-19 11:59:50.577 23842 23897 I python  : Android kivy bootstrap done. __name__ is __main__
03-19 11:59:50.577 23842 23897 I python  : AND: Ran string
03-19 11:59:50.577 23842 23897 I python  : Run user program, change dir and execute entrypoint
03-19 11:59:50.661 23842 23897 I python  : [WARNING] [Config      ] Older configuration version detected (0 instead of 21)
03-19 11:59:50.661 23842 23897 I python  : [WARNING] [Config      ] Upgrading configuration in progress.
03-19 11:59:50.664 23842 23897 I python  : [INFO   ] [Logger      ] Record log in /data/user/0/org.test.myapp/files/app/.kivy/logs/kivy_20-03-19_0.txt
03-19 11:59:50.664 23842 23897 I python  : [INFO   ] [Kivy        ] v1.11.1
03-19 11:59:50.664 23842 23897 I python  : [INFO   ] [Kivy        ] Installed at "/data/user/0/org.test.myapp/files/app/_python_bundle/site-packages/kivy/__init__.pyc"
03-19 11:59:50.664 23842 23897 I python  : [INFO   ] [Python      ] v3.7.1 (default, Mar 18 2020, 00:16:26) 
03-19 11:59:50.664 23842 23897 I python  : [Clang 8.0.2 (https://android.googlesource.com/toolchain/clang 40173bab62ec7462
03-19 11:59:50.664 23842 23897 I python  : [INFO   ] [Python      ] Interpreter at "android_python"
03-19 11:59:50.667 23842 23897 I python  : [INFO   ] [Factory     ] 184 symbols loaded
03-19 11:59:51.244 23842 23897 I python  : [INFO   ] [Image       ] Providers: img_tex, img_dds, img_sdl2, img_gif (img_pil, img_ffpyplayer ignored)
03-19 11:59:51.273 23842 23897 I python  : [INFO   ] [Window      ] Provider: sdl2
03-19 11:59:51.289 23842 23897 I python  : [INFO   ] [GL          ] Using the "OpenGL ES 2" graphics system
03-19 11:59:51.289 23842 23897 I python  : [INFO   ] [GL          ] Backend used <sdl2>
03-19 11:59:51.289 23842 23897 I python  : [INFO   ] [GL          ] OpenGL version <b'OpenGL ES 3.2 v1.r12p1-04bet0.76b1d268c59a490265a02c702c8aa55c'>
03-19 11:59:51.290 23842 23897 I python  : [INFO   ] [GL          ] OpenGL vendor <b'ARM'>
03-19 11:59:51.290 23842 23897 I python  : [INFO   ] [GL          ] OpenGL renderer <b'Mali-T880'>
03-19 11:59:51.290 23842 23897 I python  : [INFO   ] [GL          ] OpenGL parsed version: 3, 2
03-19 11:59:51.290 23842 23897 I python  : [INFO   ] [GL          ] Texture max size <8192>
03-19 11:59:51.290 23842 23897 I python  : [INFO   ] [GL          ] Texture max units <16>
03-19 11:59:51.320 23842 23897 I python  : [INFO   ] [Window      ] auto add sdl2 input provider
03-19 11:59:51.321 23842 23897 I python  : [INFO   ] [Window      ] virtual keyboard not allowed, single mode, not docked
03-19 11:59:51.322 23842 23897 I python  : [INFO   ] [KivyMD      ] v0.104.0
03-19 11:59:51.331 23842 23897 I python  : [INFO   ] [Text        ] Provider: sdl2
03-19 11:59:51.391 23842 23897 I python  : [INFO   ] [GL          ] NPOT texture support is available
03-19 11:59:51.995 23842 23897 I python  :  Traceback (most recent call last):
03-19 11:59:51.995 23842 23897 I python  :    File "/home/mithra/Documents/corona/.buildozer/android/app/main.py", line 22, in <module>
03-19 11:59:51.996 23842 23897 I python  :    File "/home/mithra/Documents/corona/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/myapp/pyrebase/__init__.py", line 1, in <module>
03-19 11:59:51.996 23842 23897 I python  :    File "/home/mithra/Documents/corona/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/myapp/pyrebase/pyrebase.py", line 18, in <module>
03-19 11:59:51.996 23842 23897 I python  :    File "/home/mithra/Documents/corona/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/myapp/gcloud/storage/__init__.py", line 43, in <module>
03-19 11:59:51.996 23842 23897 I python  :    File "/home/mithra/Documents/corona/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/myapp/gcloud/storage/blob.py", line 31, in <module>
03-19 11:59:51.997 23842 23897 I python  :    File "/home/mithra/Documents/corona/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/myapp/gcloud/_helpers.py", line 28, in <module>
03-19 11:59:51.997 23842 23897 I python  :  ModuleNotFoundError: No module named 'google'
03-19 11:59:51.997 23842 23897 I python  : Python for android ended.
^CTraceback (most recent call last):
  File "/usr/local/bin/buildozer", line 11, in <module>
    load_entry_point('buildozer==1.0.1.dev0', 'console_scripts', 'buildozer')()
  File "/usr/local/lib/python3.6/dist-packages/buildozer-1.0.1.dev0-py3.6.egg/buildozer/scripts/client.py", line 13, in main
    Buildozer().run_command(sys.argv[1:])
  File "/usr/local/lib/python3.6/dist-packages/buildozer-1.0.1.dev0-py3.6.egg/buildozer/__init__.py", line 1071, in run_command
    self.target.run_commands(args)
  File "/usr/local/lib/python3.6/dist-packages/buildozer-1.0.1.dev0-py3.6.egg/buildozer/target.py", line 92, in run_commands
    func(args)
  File "/usr/local/lib/python3.6/dist-packages/buildozer-1.0.1.dev0-py3.6.egg/buildozer/targets/android.py", line 1362, in cmd_logcat
    show_output=True)
  File "/usr/local/lib/python3.6/dist-packages/buildozer-1.0.1.dev0-py3.6.egg/buildozer/__init__.py", line 311, in cmd
    readx = select.select([fd_stdout, fd_stderr], [], [])[0]

If you can try to help me thanks.





 

Robert Flatt

unread,
Mar 19, 2020, 1:34:32 PM3/19/20
to Kivy users support
Is the google package pure Python?

Some reading
...

Robert Flatt

unread,
Mar 20, 2020, 3:06:05 AM3/20/20
to Kivy users support
Also perhaps the install name is different. this gives lots of hits suggesting this is the case

Andrea Lattaruolo

unread,
Mar 21, 2020, 6:25:14 AM3/21/20
to Kivy users support
It should be pure python cause from the passage 1 google is not found in the link https://github.com/kivy/python-for-android/tree/develop/pythonforandroid/recipes.
I am trying to remove the import goolge from the files to see if it works since I don't know how to solve this.

Andrea Lattaruolo

unread,
Mar 21, 2020, 6:49:51 AM3/21/20
to Kivy users support
I have checked inside my library in /.loc/lib/python3.6/ and there is the google folder (module).
I even tryed to execute the line in the shell of  $ python3
>from google.protobuf import timestamp_pb2 
(which is the one who raise the error google module not found), and this line is executed correctly no error is raised.
The problem is that buildozer don't seems to see this module.

Andrea Lattaruolo

unread,
Mar 21, 2020, 7:13:33 AM3/21/20
to Kivy users support
Basically from what I understood in the requirements I need the name of the package that install the folder 'google' inside the app. And from several try  I found out that adding the following package-name on the requirements produce the following folder name:
google-> googlesearch
google-api-python-client -> googleapipythonclient
So I need * to obtain google
* ->  google
How do I find * I know that google (module) is installed in python3 in my machine.

Andrea Lattaruolo

unread,
Mar 21, 2020, 7:25:41 AM3/21/20
to Kivy users support
With google-cloud-storage I can obtain the google folder:
google-cloud-storage -> google
But still is not the right one since I got the error ModuleNotFoundError: No module named 'google.protobuf'
So the research on * continues...

Andrea Lattaruolo

unread,
Mar 21, 2020, 10:40:15 AM3/21/20
to Kivy users support
I kinda had a workaround using the tow package google-cloud-storage,protobuf instead of google
google-cloud-storage,protobuf -> google (where google-cloud-storage create the directory google and protobuf install the package needed)

Dmitry

unread,
Dec 8, 2021, 1:22:40 AM12/8/21
to Kivy users support
Hello, can you please write how specify in buildozer spec file:
from google.cloud import bigquery
or
from google.oauth2 import service_account

Thanks!

суббота, 21 марта 2020 г. в 21:40:15 UTC+7, Andrea Lattaruolo:
Reply all
Reply to author
Forward
0 new messages