Skip to content

Android N 调用相册crash- FileUriExposedException #8

Open

Description

@shirensong

06-08 16:26:35.965 14377 14377 E AndroidRuntime: android.os.FileUriExposedException: file:///storage/emulated/0/Pictures/com..*/IMG_20170608_162635.jpg exposed beyond app through ClipData.Item.getUri()

Activity

  1. ValuesFeng commented on Jun 9, 2017

    @ValuesFeng
    Owner

    嗯。自己在MainFest里面加上权限。

  2. Henry-Mark commented on Nov 23, 2017

    @Henry-Mark

    这个方法可以解决,可以看下,我对这个库进行了修改,完后可以使用了。https://www.cnblogs.com/netcorner/p/6542373.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions