Android 6.0 RuntimeException: Fail to connect to camera service

后端 未结 5 1775
慢半拍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:34

    From android 6.0 you can handle the app permission weather you will give or not specific permission for an application. In your case if you didn't enable camera permission for your app then this issues may arise.

    So, you need to enable permission from settings->apps->your_app->enable camera permission.

提交回复
热议问题