Android爬坑之旅之FileProvider(Failed to find configured root that contains)

最近在測試FileProvider相關功能的時候,在從自定義相冊選擇圖片經過FileProvider來獲取content uri的時候程序忽然崩潰了,報出了html Failed to find configured root that contains xxxx 的錯誤,一開始覺得是本身的配置出錯了,可是參照官方文檔改來改去仍然沒有任何做用,經過絞盡腦汁地排查,終於發現了錯誤緣由,並找到了正確的
相關文章
相關標籤/搜索