FileProvider使用中遇到IllegalArgumentException Failed to find configured root that contains解決方案

場景: 使用FileProvider獲取SD上文件的Uri(FileProvider.getUriForFile)獲取相冊的圖片,升級應用獲取apk文件。 問題: 報異常IllegalArgumentException Failed to find configured root that contains 解決方法: 使用FileProvider的時候,切記要在AndroidManifest.x
相關文章
相關標籤/搜索