Fail to connect to camera service java.lang.RuntimeException

282 views
Skip to first unread message

Roy Somoza

unread,
Mar 29, 2023, 10:31:57 AM3/29/23
to Kivy users support
Greetings to all. I want to try the kivy example to turn the camera on and off and take a picture. I already built the apk but when I try to open the app on my android phone it only loads for a few seconds and the app closes. I did a logcat and I get this error:

03-14 14:08:25.792 10455 10482 I python  :    File "jnius/jnius_utils.pxi", line 91, in jnius.jnius.check_exception
03-14 14:08:25.792 10455 10482 I python  :  jnius.jnius.JavaException: JVM exception occurred: Fail to connect to camera service java.lang.RuntimeException
03-14 14:08:25.792 10455 10482 I python  : Python for android ended.


LOGCAT_ErrorCamera.txt
main.py
buildozer.spec

Robert

unread,
Mar 29, 2023, 12:47:50 PM3/29/23
to Kivy users support
I think Kivy Camera doesn't work on Android.

Reply all
Reply to author
Forward
0 new messages