解决 Android N 7.0 上 报错:android.os.FileUriExposedException

最近在做app安装功能,弹框APP安装界面,遇到下面的错误:

android.os.FileUriExposedException: file:///storage/emulated/0/Download/appName-2.3.0.apk exposed beyond app through Intent.getData()

我的安装系统是8.0的。

参考链接:https://blog.csdn.net/yy1300326388/article/details/52787853

猜你喜欢

转载自blog.csdn.net/fwt336/article/details/79883898
今日推荐