-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
kivy app crashing on launch #982
Comments
From @FeralBytes on January 4, 2017 15:12 Looks like your error has nothing to do with the Window; but rather a bad import; see here:
|
From @Terrydaktal on January 5, 2017 22:1 @FeralBytes, after removing multiarray.so, the import error no longer appears, the removeview error remains however, the app still crashes |
From @FeralBytes on January 6, 2017 4:7 That error may have something to do with the Splash screen; if I am reading the Java exception correctly; can you try again from Kivy latest via github and ensure the error still occurs. Also can you share a slimed down version of your code that crashes? |
From @Terrydaktal on January 7, 2017 22:51 @FeralBytes I have tried it with latest kivy, latest buildozer, I have switched round the buildozer.spec so many times but the.apk still crashes on launch with that error. It's not a very long code so here : Code:
Kivy file:
|
From @Terrydaktal on January 7, 2017 22:53 If someone could get a working apk out of this I would really appreciate it. |
From @FeralBytes on January 16, 2017 10:43 @Terrydaktal please post a new log output now that you have removed the "multiarray.so". |
This looks like either an user error, or an issue with the numpy recipe, moving to p4a. |
@dessant IIRC the log was exactly the same but with the multiarray.so mention gone. When I get home later I'm going to try and compile the apk on a new machine, and see if it works then. |
needs awaiting reply tag |
Still the same error on the new machine, this simply does not compile with any ndk or any sdk version for Android api 19, it crashes with that same error on launch |
@Terrydaktal still need that new log verbatim copied to github; the one without the multiarray.so so that we can look through it. |
I don't think removing multiarray.so is the best solution, I think any consequent issues that will arise will be because of multiarray.so being missing, as opposed to multiarray.so being present but' not 32 bit', When opening the original app built for api 19, ndk r13b, Android new, sdk 25.2 I think it is, on another phone with Android 6 the same error is produced before multiarray.so is removed.
In fact here's the logcat on the Android 4.4.4 device when using python3crystax and crystax ndk instead and android_new, sdk25.2,
And lastly, here's the error after removing multiarray.so on the original target android 4.4.4 device when using ndk r13b and android_new
As you can see the removeView error remains |
Are you building in debug mode or release mode because it seems like there should be more output than just this. |
sudo buildozer android_new debug serve is the exact command I use |
What is your OS, Python version, and you mention crystax; so what is your buildozer.spec for the crystax version and in the none crystax version what changes do you make? Thank you I know I am asking a lot; but I am currently shooting in the dark trying to gather as much information as possible to find out what is going wrong. |
@Terrydaktal so you are serving the file via http and then downloading it to your device? Are you then running adb logcat to get the output that you pasted; just making sure I am following your work flow? |
I currently don't have access to my home computer today so It is difficult to answer, I do however have python 3.5.2 as its stable, on my new VM im running latest Ubuntu, I'm compiling using Android sdk 25.2.5, ndk r13b, for Android api 19.(I am unable to compile for higher than this due to errors upon compiling that I couldn't get around, but thats irrelevant right now). I have tried multiple different requirement combinations to my knowledge and I've tried crystax as well, when the multiarray.so error doesn't appear the removeview error does appear (this appears to be the main error), at some point I'm going to have to compile my app feature by feature to see what block of code it is actually having issue with. There's some issue with Android_new that produces this removeview error, compiling with Android alone did produce a simple app, for my project however it produces missing.so files which are fixed by using the new toolchain. The main error does appear to be this removeview error, I've seen it multiple times, it also happened before I realized I forgot to include numpy in the requirements. BTW, something that's always made me scratch my head is the fact the apk only has lib/python2.7, is this normal that all the modules are for python 2.7..? I did code in 3.5.2. And yes, I serve the file and then transfer it to the device. However, when I did deploy and run it, it still had the same errors, and yes the log is from logcat after it crashes. If you want to play about with it, here is the latest version of the project: |
Well; I too am currently in a bit of a catch 22; as I would prefer to use python-osc over kivy's osc (kivy osc has been broken many times especially with py3). But currently I can not get Crystax type builds to work. My builds are crashing on launch as described in the other issue. Going back to Android_New means replacing python-osc with kivy-osc, not a big deal but I think those builds are failing for me; i will try soon and confirm. |
im talking about private.mp3/lib/python2.7 or after apk install data/data/org.test.app/files/lib/python2.7 - all of the libraries being used are 2.7, there are no 3.5 libraries with the apk. Is this right... |
OK, hopefully this does not seem too dumb. But how are you seeing the contents of private.mp3, I tried opening it with Archive Manager but it failed. |
Get the apk on windows, open winrar, open apk on winrar, extract private.mp3, change the default program to open.mp3 s to winrar, it opens. |
Update: Updating buildozer to 0.33dev fixed some issues in the console which prevented me from compiling to API23. After compiling the apk for API 23 , ndk r13b, sdk 25.2.5, python 3.2.5, ubuntu 16.04 LTS, kivy 1.9.2 dev, latest p4a from repo, with the following buildozer.spec and the numpy error seemingly fixed: # (str) Title of your application
title = Calcapp
# (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 = /home/lewis/project/
# (list) Source files to include (let empty to include all the files)
source.include_exts = py,png,jpg,kv,atlas,ttf,tex,txt
# (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 seperated e.g. requirements = sqlite3,kivy
requirements = kivy, kivy==master, sqlite3, openssl, numpy, tex, sympy, numpy, ws4py, seaborn, matplotlib, scipy
#tex, sympy, numpy, matplotlib, ws4py, seaborn, scipy, kivy,
# (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, portrait or all)
orientation = all
# (list) List of service to declare
#services = NAME:ENTRYPOINT_TO_PY,NAME2:ENTRYPOINT2_TO_PY
#
# OSX Specific
#
#
# author = © Copyright Info
#
# Android specific
#
# (bool) Indicate if the application should be fullscreen or not
fullscreen = 1
# (list) Permissions
#android.permissions = INTERNET
# (int) Android API to use
android.api = 23
# (int) Minimum API required
#android.minapi = 9
# (int) Android SDK version to use
#android.sdk = 20
# (str) Android NDK version to use
android.ndk = 13b
# (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 = /home/lewis/Downloads/android-ndk-r13b
#android.ndk_path = /home/lewis/Downloads/android-ndk-r11c
#android.ndk_path = /home/lewis/Downloads/crystax-ndk-10.3.2
# (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 =
# (str) python-for-android git clone directory (if empty, it will be automatically cloned from github)
android.p4a_dir = /home/lewis/python-for-android
# (list) python-for-android whitelist
#android.p4a_whitelist =
# (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
# (str) Android entry point, default is ok for Kivy-based app
#android.entrypoint = org.renpy.android.PythonActivity
# (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 =
# (str) python-for-android branch to use, if not master, useful to try
# not yet merged features.
#android.branch = master
# (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 =
# (list) Android additionnal 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_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 =
# (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
#
# iOS specific
#
# (str) Path to a custom kivy-ios folder
#ios.kivy_ios_dir = ../kivy-ios
# (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 I now get this error in the logcat when opening the .apk
|
@Terraydaktal I may have a solution for you. Do me a favor; make sure that your building with a log level of 2; and copy and paste the build log here. |
hmm why does it say sdk20, it was 25 once |
You should install these: |
Are these all of your files? Copy /home/lewis/project/decorator.pyCopy /home/lewis/project/rawCopy /home/lewis/project/calculator.kvCopy /home/lewis/project/main.py |
OK your error was not the same as mine; but let me know if either of those help. |
OK I'll make that sdk 25.2.5 and I'll install those and get back to you, yes my files are save.txt, raw.txt decorator.py, main.py, calculator.kv |
Apparently it was up to date, it displays android-sdk-20 but inside it are the latest 25.2.5 build tools. I have installed those 3 things and the warnings no longer appear when building. The app crashes still however. And my android 6 device shows
again, :( , and yes i have the latest numpy recipe |
Hello All, I have developed a very simple app with Kivy & KivyMD and everything works fine. Even the build for android (command: buildozer android debug) works perfectly fine but the app crashes right after running. I seem not to be able to find out what the problem is. I have attached both buildozer.spec (I had to change it to buildozer.txt to upload) and logcat.txt for your review. Please help. |
@raythenewuser, you may have better luck with your request on the support channels: https://github.com/kivy/python-for-android#support. |
Thanks. Just posted it there too. |
I just got the issue too on Android 4.4.2 (using emulator and real device) VS 8.0 (works ok), when packaging again an app. Dunno what have changed before, but the error is in the log posted here as well as mine:
And the p4a configuration:
|
Closing as this was fixed some time ago. |
From @Terrydaktal on January 2, 2017 0:30
after advice from issue #4864
-i have rebuilt python-for-android and buildozer from the repo
-i have changed buildozer.spec to include all modules imported into python: buildozer.spec.txt
-i have used android_new and built an apk with that, and another apk with just android as well
both applications however still crash, the error produced when using only 'android' to compile, is overcome when using android_new and using python2 in the requirements, however the error now is such: i will provide the full logcat:
particularly looking at that specified child already has a parent error, this is an error i got before when using android_new, i looked up solutions at the time, but none helped me, the suggestions were to make sure everything is up to date, but everything is
01-02 00:12:02.431 861 1242 I ActivityManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=org.test.myapp/org.kivy.android.PythonActivity} from pid 20837
01-02 00:12:02.463 861 872 I ActivityManager: Start proc org.test.myapp for activity org.test.myapp/org.kivy.android.PythonActivity: pid=26524 uid=10108 gids={50108, 1028, 1015, 1023, 3003}
01-02 00:12:02.483 240 240 I BufferQueue: Starting org.test.myapp setConsumerName: Starting org.test.myapp
01-02 00:12:02.483 240 240 I BufferQueue: Starting org.test.myapp setDefaultBufferSize: w=1080, h=1920
01-02 00:12:02.505 240 911 I BufferQueue: Starting org.test.myapp connect: api=2 producer=(861:system_server) producerControlledByApp=false
01-02 00:12:02.505 240 8923 I BufferQueue: Starting org.test.myapp new GraphicBuffer needed
01-02 00:12:12.453 861 881 E WindowManager: Starting window AppWindowToken{46452e58 token=Token{434905b8 ActivityRecord{43b7b1f8 u0 org.test.myapp/org.kivy.android.PythonActivity t168}}} timed out
01-02 00:12:12.455 240 8923 I BufferQueue: Starting org.test.myapp disconnect: api=2
01-02 00:12:12.455 240 8923 I BufferQueue: Starting org.test.myapp getReleasedBuffers: returning mask 0xffffffff
01-02 00:12:12.460 240 240 I BufferQueue: Starting org.test.myapp consumerDisconnect
01-02 00:12:12.461 240 240 I BufferQueue: Starting org.test.myapp ~BufferQueue
01-02 00:12:59.471 240 240 I BufferQueue: org.test.myapp/org.kivy.android.PythonActivity setConsumerName: org.test.myapp/org.kivy.android.PythonActivity
01-02 00:12:59.471 240 240 I BufferQueue: org.test.myapp/org.kivy.android.PythonActivity setDefaultBufferSize: w=1, h=1
01-02 00:12:59.484 240 240 I BufferQueue: org.test.myapp/org.kivy.android.PythonActivity setDefaultBufferSize: w=1080, h=1920
01-02 00:12:59.488 861 881 I WindowManager: Gaining focus: Window{46602b78 u0 org.test.myapp/org.kivy.android.PythonActivity}
01-02 00:12:59.514 240 8923 I BufferQueue: org.test.myapp/org.kivy.android.PythonActivity connect: api=1 producer=(26524:org.test.myapp) producerControlledByApp=true
01-02 00:12:59.514 240 912 I BufferQueue: org.test.myapp/org.kivy.android.PythonActivity new GraphicBuffer needed
01-02 00:12:59.598 26524 26551 I python : /data/data/org.test.myapp/files/app
01-02 00:12:59.626 26524 26551 I python : ('Android path', ['/data/data/org.test.myapp/files/app/lib/python27.zip', '/data/data/org.test.myapp/files/app/lib/python2.7/', '/data/data/org.test.myapp/files/app/lib/python2.7/lib-dynload/', '/data/data/org.test.myapp/files/app/lib/python2.7/site-packages/', '/data/data/org.test.myapp/files/app'])
01-02 00:12:59.652 26524 26551 I python : ('os.environ is', {'ANDROID_APP_PATH': '/data/data/org.test.myapp/files/app', 'EXTERNAL_STORAGE': '/storage/emulated/legacy', 'LOOP_MOUNTPOINT': '/mnt/obb', 'ANDROID_SOCKET_zygote': '10', 'BOOTCLASSPATH': '/system/framework/core.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/framework2.jar:/system/framework/telephony-common.jar:/system/framework/voip-common.jar:/system/framework/mms-common.jar:/system/framework/android.policy.jar:/system/framework/services.jar:/system/framework/apache-xml.jar:/system/framework/webviewchromium.jar:/system/framework/mediatek-common.jar:/system/framework/mediatek-framework.jar:/system/framework/CustomProperties.jar:/system/framework/mediatek-telephony-common.jar:/system/framework/mediatek-tablet.jar:/system/framework/dolby_ds.jar', 'ANDROID_PROPERTY_WORKSPACE': '9,0', 'PATH': '/sbin:/vendor/bin:/system/sbin:/system/bin:/system/xbin', 'ANDROID_STORAGE': '/storage', 'ANDROID_BOOTLOGO': '1', 'EMULATED_STORAGE_TARGET': '/storage/emulated', 'ANDROID_ASSETS': '/system/app', 'LD_LIBRARY_PATH': '/vendor/lib:/system/lib:/custom/lib', 'PYTHONPATH': '/data/data/org.test.myapp/files/app:/data/data/org.test.myapp/files/app/lib', 'PYTHON_NAME': 'python', 'PYTHONOPTIMIZE': '2', 'ANDROID_PRIVATE': '/data/data/org.test.myapp/files', 'USBOTG_STORAGE': '/storage/usbotg', 'ANDROID_ENTRYPOINT': 'main.pyo', 'CLASSPATH': '/data/data/de.robv.android.xposed.installer/bin/XposedBridge.jar', 'ANDROID_DATA': '/data', 'EMULATED_STORAGE_SOURCE': '/mnt/shell/emulated', 'BOOTCLASSPATH_EX': '/system/framework/mediatek-op.jar', 'LD_PRELOAD': '/system/lib/libpldbgutil.so', 'ANDROID_ROOT': '/system', 'PYTHONHOME': '/data/data/org.test.myapp/files/app', 'ASEC_MOUNTPOINT': '/mnt/asec', 'ANDROID_ARGUMENT': '/data/data/org.test.myapp/files/app'})
01-02 00:12:59.666 240 911 I BufferQueue: org.test.myapp/org.kivy.android.PythonActivity new GraphicBuffer needed
01-02 00:12:59.696 861 881 I ActivityManager: [AppLaunch] Displayed Displayed org.test.myapp/org.kivy.android.PythonActivity: +57s244ms
01-02 00:12:59.698 26524 26551 I python : ['/data/data/org.test.myapp/files/app/lib/python2.7/site-packages', '/data/data/org.test.myapp/files/app/lib/site-python']
01-02 00:12:59.700 240 487 I BufferQueue: org.test.myapp/org.kivy.android.PythonActivity new GraphicBuffer needed
01-02 00:12:59.853 26524 26551 I python : ImportError: dlopen failed: "/data/data/org.test.myapp/files/app/_applibs/numpy/core/multiarray.so" not 32-bit: 2
01-02 00:13:00.163 861 881 I WindowManager: Losing focus: Window{46602b78 u0 org.test.myapp/org.kivy.android.PythonActivity}
01-02 00:13:00.291 240 489 I BufferQueue: org.test.myapp/org.kivy.android.PythonActivity disconnect: api=1
01-02 00:13:00.292 240 489 I BufferQueue: org.test.myapp/org.kivy.android.PythonActivity getReleasedBuffers: returning mask 0xffffffff
01-02 00:13:00.417 240 240 I BufferQueue: org.test.myapp/org.kivy.android.PythonActivity consumerDisconnect
01-02 00:13:00.417 240 240 I BufferQueue: org.test.myapp/org.kivy.android.PythonActivity ~BufferQueue
01-02 00:14:49.420 861 879 I ActivityManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=org.test.myapp/org.kivy.android.PythonActivity} from pid 20837
01-02 00:14:49.460 26818 26818 W System.err: java.lang.RuntimeException: Unable to start activity ComponentInfo{org.test.myapp/org.kivy.android.PythonActivity}: java.lang.IllegalStateException: The specified child already has a parent. You must call removeView() on the child's parent first.
01-02 00:14:49.468 26818 26818 E AndroidRuntime: Process: org.test.myapp, PID: 26818
01-02 00:14:49.468 26818 26818 E AndroidRuntime: java.lang.RuntimeException: Unable to start activity ComponentInfo{org.test.myapp/org.kivy.android.PythonActivity}: java.lang.IllegalStateException: The specified child already has a parent. You must call removeView() on the child's parent first.
01-02 00:14:49.475 240 240 I BufferQueue: Starting org.test.myapp setConsumerName: Starting org.test.myapp
01-02 00:14:49.475 240 240 I BufferQueue: Starting org.test.myapp setDefaultBufferSize: w=1080, h=1920
01-02 00:14:49.485 861 1280 W ActivityManager: Force finishing activity org.test.myapp/org.kivy.android.PythonActivity
01-02 00:14:49.508 26887 26887 I DEBUG : [OnPurpose Redunant in preset_info] pid: 26818, tid: -1361051648, name: UNKNOWN >>> org.test.myapp <<<
01-02 00:14:49.786 861 1280 I WindowManager: Screenshot max retries 4 of Token{4351a688 ActivityRecord{443b0478 u0 org.test.myapp/org.kivy.android.PythonActivity t174 f}} appWin=Window{441aad30 u0 Starting org.test.myapp} drawState=1
01-02 00:14:49.813 240 912 I BufferQueue: Starting org.test.myapp connect: api=2 producer=(861:system_server) producerControlledByApp=false
01-02 00:14:49.814 240 489 I BufferQueue: Starting org.test.myapp new GraphicBuffer needed
01-02 00:14:49.828 240 240 I BufferQueue: Application Error: org.test.myapp setConsumerName: Application Error: org.test.myapp
01-02 00:14:49.828 240 240 I BufferQueue: Application Error: org.test.myapp setDefaultBufferSize: w=1, h=1
01-02 00:14:49.850 240 240 I BufferQueue: Application Error: org.test.myapp setDefaultBufferSize: w=940, h=362
01-02 00:14:49.857 861 881 I WindowManager: Gaining focus: Window{44288070 u0 Application Error: org.test.myapp}
01-02 00:14:49.863 240 911 I BufferQueue: Application Error: org.test.myapp connect: api=2 producer=(861:system_server) producerControlledByApp=false
01-02 00:14:49.864 240 489 I BufferQueue: Application Error: org.test.myapp new GraphicBuffer needed
01-02 00:14:50.289 861 885 W ActivityManager: Activity pause timeout for ActivityRecord{443b0478 u0 org.test.myapp/org.kivy.android.PythonActivity t174 f}
01-02 00:14:50.818 240 487 I BufferQueue: Application Error: org.test.myapp new GraphicBuffer needed
01-02 00:14:50.953 240 8923 I BufferQueue: Application Error: org.test.myapp new GraphicBuffer needed
01-02 00:14:50.958 240 487 I BufferQueue: Application Error: org.test.myapp queueBuffer: fps=1.84 dur=1088.87 max=953.43 min=135.44
01-02 00:14:51.018 861 881 I WindowManager: Losing focus: Window{44288070 u0 Application Error: org.test.myapp EXITING}
01-02 00:14:51.109 240 489 I BufferQueue: Application Error: org.test.myapp disconnect: api=2
01-02 00:14:51.109 240 489 I BufferQueue: Application Error: org.test.myapp getReleasedBuffers: returning mask 0xffffffff
01-02 00:14:51.120 861 1119 I ActivityManager: Process org.test.myapp (pid 26818) has died.
01-02 00:14:51.122 240 240 I BufferQueue: Application Error: org.test.myapp consumerDisconnect
01-02 00:14:51.122 240 240 I BufferQueue: Application Error: org.test.myapp ~BufferQueue
01-02 00:14:51.124 240 487 I BufferQueue: Starting org.test.myapp disconnect: api=2
01-02 00:14:51.124 240 487 I BufferQueue: Starting org.test.myapp getReleasedBuffers: returning mask 0xffffffff
01-02 00:14:51.139 240 240 I BufferQueue: Starting org.test.myapp consumerDisconnect
01-02 00:14:51.140 240 240 I BufferQueue: Starting org.test.myapp ~BufferQueue
01-02 00:14:51.625 861 1255 I ActivityManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=org.test.myapp/org.kivy.android.PythonActivity} from pid 20837
01-02 00:14:51.634 240 240 I BufferQueue: Starting org.test.myapp setConsumerName: Starting org.test.myapp
01-02 00:14:51.634 240 240 I BufferQueue: Starting org.test.myapp setDefaultBufferSize: w=1, h=1
01-02 00:14:51.648 240 240 I BufferQueue: Starting org.test.myapp setDefaultBufferSize: w=1080, h=1920
01-02 00:14:51.672 861 872 I ActivityManager: Start proc org.test.myapp for activity org.test.myapp/org.kivy.android.PythonActivity: pid=26892 uid=10108 gids={50108, 1028, 1015, 1023, 3003}
01-02 00:14:51.686 240 911 I BufferQueue: Starting org.test.myapp connect: api=2 producer=(861:system_server) producerControlledByApp=false
01-02 00:14:51.687 240 487 I BufferQueue: Starting org.test.myapp new GraphicBuffer needed
01-02 00:14:51.978 240 240 I BufferQueue: org.test.myapp/org.kivy.android.PythonActivity setConsumerName: org.test.myapp/org.kivy.android.PythonActivity
01-02 00:14:51.978 240 240 I BufferQueue: org.test.myapp/org.kivy.android.PythonActivity setDefaultBufferSize: w=1, h=1
01-02 00:14:51.987 240 240 I BufferQueue: org.test.myapp/org.kivy.android.PythonActivity setDefaultBufferSize: w=1080, h=1920
01-02 00:14:51.991 861 881 I WindowManager: Gaining focus: Window{448d7c70 u0 org.test.myapp/org.kivy.android.PythonActivity}
01-02 00:14:52.004 240 912 I BufferQueue: org.test.myapp/org.kivy.android.PythonActivity connect: api=1 producer=(26892:org.test.myapp) producerControlledByApp=true
01-02 00:14:52.005 240 489 I BufferQueue: org.test.myapp/org.kivy.android.PythonActivity new GraphicBuffer needed
01-02 00:14:52.076 26892 26921 I python : /data/data/org.test.myapp/files/app
01-02 00:14:52.084 26892 26921 I python : ('Android path', ['/data/data/org.test.myapp/files/app/lib/python27.zip', '/data/data/org.test.myapp/files/app/lib/python2.7/', '/data/data/org.test.myapp/files/app/lib/python2.7/lib-dynload/', '/data/data/org.test.myapp/files/app/lib/python2.7/site-packages/', '/data/data/org.test.myapp/files/app'])
01-02 00:14:52.101 26892 26921 I python : ('os.environ is', {'ANDROID_APP_PATH': '/data/data/org.test.myapp/files/app', 'EXTERNAL_STORAGE': '/storage/emulated/legacy', 'LOOP_MOUNTPOINT': '/mnt/obb', 'ANDROID_SOCKET_zygote': '10', 'BOOTCLASSPATH': '/system/framework/core.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/framework2.jar:/system/framework/telephony-common.jar:/system/framework/voip-common.jar:/system/framework/mms-common.jar:/system/framework/android.policy.jar:/system/framework/services.jar:/system/framework/apache-xml.jar:/system/framework/webviewchromium.jar:/system/framework/mediatek-common.jar:/system/framework/mediatek-framework.jar:/system/framework/CustomProperties.jar:/system/framework/mediatek-telephony-common.jar:/system/framework/mediatek-tablet.jar:/system/framework/dolby_ds.jar', 'ANDROID_PROPERTY_WORKSPACE': '9,0', 'PATH': '/sbin:/vendor/bin:/system/sbin:/system/bin:/system/xbin', 'ANDROID_STORAGE': '/storage', 'ANDROID_BOOTLOGO': '1', 'EMULATED_STORAGE_TARGET': '/storage/emulated', 'ANDROID_ASSETS': '/system/app', 'LD_LIBRARY_PATH': '/vendor/lib:/system/lib:/custom/lib', 'PYTHONPATH': '/data/data/org.test.myapp/files/app:/data/data/org.test.myapp/files/app/lib', 'PYTHON_NAME': 'python', 'PYTHONOPTIMIZE': '2', 'ANDROID_PRIVATE': '/data/data/org.test.myapp/files', 'USBOTG_STORAGE': '/storage/usbotg', 'ANDROID_ENTRYPOINT': 'main.pyo', 'CLASSPATH': '/data/data/de.robv.android.xposed.installer/bin/XposedBridge.jar', 'ANDROID_DATA': '/data', 'EMULATED_STORAGE_SOURCE': '/mnt/shell/emulated', 'BOOTCLASSPATH_EX': '/system/framework/mediatek-op.jar', 'LD_PRELOAD': '/system/lib/libpldbgutil.so', 'ANDROID_ROOT': '/system', 'PYTHONHOME': '/data/data/org.test.myapp/files/app', 'ASEC_MOUNTPOINT': '/mnt/asec', 'ANDROID_ARGUMENT': '/data/data/org.test.myapp/files/app'})
01-02 00:14:52.125 240 487 I BufferQueue: org.test.myapp/org.kivy.android.PythonActivity new GraphicBuffer needed
01-02 00:14:52.141 26892 26921 I python : ['/data/data/org.test.myapp/files/app/lib/python2.7/site-packages', '/data/data/org.test.myapp/files/app/lib/site-python']
01-02 00:14:52.143 861 881 I ActivityManager: [AppLaunch] Displayed Displayed org.test.myapp/org.kivy.android.PythonActivity: +490ms (total +2s711ms)
01-02 00:14:52.147 240 8923 I BufferQueue: org.test.myapp/org.kivy.android.PythonActivity new GraphicBuffer needed
01-02 00:14:52.226 240 912 I BufferQueue: Starting org.test.myapp disconnect: api=2
01-02 00:14:52.226 240 912 I BufferQueue: Starting org.test.myapp getReleasedBuffers: returning mask 0xffffffff
01-02 00:14:52.241 240 240 I BufferQueue: Starting org.test.myapp consumerDisconnect
01-02 00:14:52.242 240 240 I BufferQueue: Starting org.test.myapp ~BufferQueue
01-02 00:14:52.251 26892 26921 I python : ImportError: dlopen failed: "/data/data/org.test.myapp/files/app/_applibs/numpy/core/multiarray.so" not 32-bit: 2
01-02 00:14:52.542 861 881 I WindowManager: Losing focus: Window{448d7c70 u0 org.test.myapp/org.kivy.android.PythonActivity}
01-02 00:14:52.642 240 911 I BufferQueue: org.test.myapp/org.kivy.android.PythonActivity disconnect: api=1
01-02 00:14:52.642 240 911 I BufferQueue: org.test.myapp/org.kivy.android.PythonActivity getReleasedBuffers: returning mask 0xffffffff
01-02 00:14:52.750 240 240 I BufferQueue: org.test.myapp/org.kivy.android.PythonActivity consumerDisconnect
01-02 00:14:52.751 240 240 I BufferQueue: org.test.myapp/org.kivy.android.PythonActivity ~BufferQueue
Please can someone help thanks:)
Copied from original issue: kivy/kivy#4866
The text was updated successfully, but these errors were encountered: