Android 6.0 RuntimeException: Fail to connect to camera service

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

    open Settings -> Apps -> click you app -> Permissions -> open Camera permissions.
    you can see: http://developer.android.com/training/permissions/requesting.html

提交回复
热议问题