崩溃报错如下:
Caused by: java.lang.SecurityException: Permission Denial: starting Intent { act=android.media.action.IMAGE_CAPTURE flg=0x3 mCallingUid=10129 cmp=com.android.camera/.CameraActivityWraper clip={text/uri-list U:file:///storage/emulated/0/msf/msf_pic_1494294113257.jpg} (has extras) } from ProcessRecord{c77e08f 25156:com.yianju/u0a129, isShadow:false} (pid=25156, uid=10129) with revoked permission android.permission.CAMERA
---------------------
崩溃原因:在manifest里定义了两个相同的permission,去掉一个即可,注意:例如你的项目叫app,依赖了A工程,如果这两个工程都需要一个perssion,那么在app里和A里只需要写一个perssion,而不是app和A里都写一个.