Skip to content

Widget shows only camera button and white screen #42

Open
@silakanveli

Description

Widget shows camera button and white screen.
When i press camera button my debug says following:

04-23 10:41:02.293 20776 20951 I python : [WARNING] [Base ] Unknown provider
04-23 10:41:02.294 20776 20951 I python : [INFO ] [Base ] Start application main loop
04-23 10:43:11.955 20776 20951 I python : [INFO ] [xcamera ] starting autofocus...
04-23 10:43:11.960 20776 20951 I python : [INFO ] [Error when calling autofocus] JVM exception occurred: autoFocus failed java.lang.RuntimeException

on_camera_ready method is not fired.
Phone OS MIUI V12.012.0.QCSEUXM

Is this because platform is not supported, any way to investigate?

Just tried plyer camera. Looks like this is just a platform issue:

04-23 11:07:34.286 22391 22563 I python : Traceback (most recent call last):
04-23 11:07:34.287 22391 22563 I python : File "/home/to/KivyMD/demos/bafinfeh/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/myapp/armeabi-v7a/plyer/utils.py", line 93, in _ensure_obj
04-23 11:07:34.287 22391 22563 I python : File "/home/to/KivyMD/demos/bafinfeh/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/myapp/armeabi-v7a/plyer/platforms/android/camera.py", line 9, in
04-23 11:07:34.288 22391 22563 I python : File "/home/to/KivyMD/demos/bafinfeh/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/myapp/armeabi-v7a/jnius/reflect.py", line 229, in autoclass
04-23 11:07:34.288 22391 22563 I python : File "jnius/jnius_export_func.pxi", line 26, in jnius.jnius.find_javaclass
04-23 11:07:34.289 22391 22563 I python : File "jnius/jnius_utils.pxi", line 91, in jnius.jnius.check_exception
04-23 11:07:34.289 22391 22563 I python : jnius.jnius.JavaException: JVM exception occurred: Didn't find class "org.renpy.android.PythonActivity" on path: DexPathList[[zip file "/data/app/com.bafinfeh.logger.myapp-bwsgvvmgMmynmg3i2FETeg==/base.apk"],nativeLibraryDirectories=[/data/app/com.bafinfeh.logger.myapp-bwsgvvmgMmynmg3i2FETeg==/lib/arm, /data/app/com.bafinfeh.logger.myapp-bwsgvvmgMmynmg3i2FETeg==/base.apk!/lib/armeabi-v7a, /system/lib, /product/lib]] java.lang.ClassNotFoundException

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions