Open deng7777777 opened 7 years ago
手机有点烂,小辣椒,调取相机崩溃,日志:
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.admin.ybgj/cn.finalteam.galleryfinal.PhotoEditActivity}: java.lang.SecurityException: Permission Denial: starting Intent { act=android.media.action.IMAGE_CAPTURE flg=0x3 cmp=com.htc.camera/.CameraServiceEntry clip={text/uri-list U:file:///storage/emulated/0/DCIM/GalleryFinal/IMG20160609105632.jpg} (has extras) } from ProcessRecord{9dcc17 21294:com.example.admin.ybgj/u0a542} (pid=21294, uid=10542) with revoked permission android.permission.CAMERA
我也遇到这问题,该怎么解决呢
求回答~
手机有点烂,小辣椒,调取相机崩溃,日志:
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.admin.ybgj/cn.finalteam.galleryfinal.PhotoEditActivity}: java.lang.SecurityException: Permission Denial: starting Intent { act=android.media.action.IMAGE_CAPTURE flg=0x3 cmp=com.htc.camera/.CameraServiceEntry clip={text/uri-list U:file:///storage/emulated/0/DCIM/GalleryFinal/IMG20160609105632.jpg} (has extras) } from ProcessRecord{9dcc17 21294:com.example.admin.ybgj/u0a542} (pid=21294, uid=10542) with revoked permission android.permission.CAMERA