Caused by: java.lang.SecurityException: Permission Denial: starting Intent { act=android.media.action.IMAGE_CAPTURE flg=0x3 cmp=com.meizu.media.camera/.CameraActivity clip={text/uri-list U:content://com.example.android.fileprovider/my_images/default_image.jpg} (has extras) } from ProcessRecord{6ba0a28 14129:com.example.myapp_b/u0a389} (pid=14129, uid=10389) with revoked permission android.permission.CAMERA
出现如下报错是因为在新版本的安卓中不再提供下面的这项权限
<uses-permission android:name="android.permission.CAMERA"/>
删除即可