InstallStaging:Error staging apk from content URIPermissionURIPermission

在Android 8.0 + 操作系统上报异常:

InstallStaging:Error staging apk from content URIPermission Denial: reading android.support.v4.content.FileProvider uri content://cn.com.wrcb.afubank.fileprovider/extfiles/Download/wxzx_1.2.1.apk

在release包进行加固后,会偶发性产生这个问题:


解决方案:添加该权限 FLAG_GRANT_PERSISTABLE_URI_PERMISSION。


你可能感兴趣的:(InstallStaging:Error staging apk from content URIPermissionURIPermission)