Android 外置存储卡无法使用FileProvider问题

解决办法:

<?xml version="1.0" encoding="utf-8"?>
<paths>
    <external-files-path
        name="my_images"
        path="." />
</paths>

修改为

<?xml version="1.0" encoding="utf-8"?>
<paths>
    <root-path
        name="my_images"
        path="." />
</paths>
posted @ 2023-10-12 18:51  zhaogaojian  阅读(17)  评论(0编辑  收藏  举报