在未加固的情况下安装apk正常,加固后报报解析包失败,错误日志如下:
java.lang.SecurityException: Permission Denial: reading android.support.v4.content.FileProvider uri content://com.chinaums.countryside.fileprovider/external_storage_root/mpos/tmp643af9f311ee1015f1091a8a5c991eb9_02733800.apk from pid=6710, uid=10037 requires the provider be exported, or grantUriPermission()
已有授权代码:
intent.setFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION);
|
|
|
|
评论
直达楼层