Android 6.0 RuntimeException: Fail to connect to camera service

后端 未结 5 1845
慢半拍i
慢半拍i 2021-01-17 07:36

An error occurred with my app which ran in Nexus5 (Android6.0).

The error was

java.lang.RuntimeException: Fail to connect to camera service

5条回答
  •  没有蜡笔的小新
    2021-01-17 08:20

    Add Camera Permission before Opening the Camera:

    follow the Link for adding Permissions: https://developer.android.com/training/permissions/requesting.html

提交回复
热议问题