8000 App exists immediately when importing kivy.core.window.Window · Issue #2167 · kivy/python-for-android · GitHub
[go: up one dir, main page]

Skip to content
App exists immediately when importing kivy.core.window.Window #2167
Closed
@snuq

Description

@snuq

Versions

  • Python: 3.8.1
  • OS: Build: Xubuntu 18.04, Run: Android 6.0.1
  • Kivy: master branch
  • p4a: develop branch

Description

Might be related to: kivy/kivy#6400
App builds fine, no unexpected errors.

On android when running my kivy app, i get the notification in my log:
[INFO ] [WindowSDL ] No running App found, exit.
No errors or traceback happens.

this seems to happen as soon as i run:
from kivy.core.window import Window

If that line is removed, the app will not crash.

Files

Command:

buildozer android debug

Spec file:

[app]
title = Test App
package.name = TestApp
package.domain = com.snuq
source.dir = .
fullscreen = 0
version = 0.9
requirements = python3,kivy==master
android.arch = armeabi-v7a
p4a.branch = develop

python file:

from kivy.app import App
from kivy.uix.button import Button
from kivy.core.window import Window
class TestApp(App):
    def build(self):
        return Button()
if __name__ == '__main__':
    TestApp().run()

Logs

Kivy log:

[INFO   ] Logger: Record log in /data/user/0/com.snuq.testapp/files/app/.kivy/logs/kivy_20-05-02_0.txt
[WARNING] [Config      ] Upgrading configuration in progress.
[WARNING] [Config      ] Older configuration version detected (0 instead of 21)
[INFO   ] Kivy: v2.0.0rc2, git-Unknown, 20200502
[INFO   ] Kivy: Installed at "/data/user/0/com.snuq.testapp/files/app/_python_bundle/site-packages/kivy/__init__.pyc"
[INFO   ] Python: v3.8.1 (default, May  2 2020, 02:55:43) 
[Clang 8.0.2 (https://android.googlesource.com/toolchain/clang 40173bab62ec7462
[INFO   ] Python: Interpreter at ""
[INFO   ] Factory: 184 symbols loaded
[INFO   ] Image: Providers: img_tex, img_dds, img_sdl2 (img_pil, img_ffpyplayer, img_gif ignored)
[INFO   ] Text: Provider: sdl2
[INFO   ] Window: Provider: sdl2
[INFO   ] GL: Using the "OpenGL ES 2" graphics system
[INFO   ] GL: Backend used <sdl2>
[INFO   ] GL: OpenGL version <b'OpenGL ES 3.1 V@140.0 (GIT@Ifd751822f5)'>
[INFO   ] GL: OpenGL vendor <b'Qualcomm'>
[INFO   ] GL: OpenGL renderer <b'Adreno (TM) 420'>
[INFO   ] GL: OpenGL parsed version: 3, 1
[INFO   ] GL: Texture max size <16384>
[INFO   ] GL: Texture max units <16>
[INFO   ] WindowSDL: No running App found, exit.
[INFO   ] Window: auto add sdl2 input provider
[INFO   ] Window: virtual keyboard not allowed, single mode, not docked
[WARNING] Base: Unknown <android> provider
[INFO   ] Base: Start application main loop
[INFO   ] Base: Leaving application in progress...

I can post the build log and logcat if necessary too, just let me know.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0