Android N 后的Uri 权限变化 官网介绍
7.0后使用Uri 三步走:
在AndroidManifest.xml中加上
<provider
android:name="android.support.v4.content.FileProvider"
android:authorities="com.mydomain.fileprovider"
android:exported="false"
android:grantUriPermissions="true">
<meta-data
android:name