Android 報錯:android.os.FileUriExposedException: file:///storage/....... exposed

Android 報錯:android.os.FileUriExposedException: file:///storage/… exposed 緣由: android 23 之後傳遞軟件包網域外的 file://URI 可能給接收器留下沒法訪問的路徑。 所以,嘗試傳遞 file://URI 會觸發 FileUriExposedException。若要在應用間共享文件,您應發送一項 content
相關文章
相關標籤/搜索