Failed to connect to camera service

前端 未结 10 1995
梦毁少年i
梦毁少年i 2020-11-28 10:13

I\'m trying to access the camera on my phone. I\'m writing a simple stub app prior to putting the code in a widget. I\'m not getting very far. The code always throws a runti

10条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-11-28 10:47

    running your code hundred times may affect the camera to function wrongly.Your activity may be performing correctly but system could not buy it.so camera forces stop. One main tip all missed is rebooting your phone and not only eclipse..It worked for me..

提交回复
热议问题