首页 > 解决方案 > 将图像从 Firefox 应用程序共享到我的应用程序时出现权限被拒绝异常

问题描述

如标题所示。通过 Chrome 中的 Intent 将图像共享到我的应用程序。但它不适用于 Firefox。我收到以下异常:

Security Exception: Permission Denial: opening provider mozilla.components.feature.downloads.provider.FileProvider from ProcessRecord{6b46c1f 12229:com.appName/u0a134} (pid=12229, uid=10134) that is not exported from UID 10135
java.lang.SecurityException: Permission Denial: opening provider mozilla.components.feature.downloads.provider.FileProvider from ProcessRecord{6b46c1f 12229:com.appName/u0a134} (pid=12229, uid=10134) that is not exported from UID 10135

标签: androidfirefoxsharing

解决方案


如果您尝试将图像从 Firefox 应用程序共享到您的任何其他应用程序,它也不起作用。问题在 Mozilla 一方,不能轻易解决。即使像 Gmail 或 SMS(三星)这样的应用程序也无法正常工作。


推荐阅读