Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Can't write ti SD-card on Android 6.0.1 #1024

@BorisTestov

Description

@BorisTestov

Hello everyone! So, I'm trying to create an empty file on SD-card. I've two phones, first with Android 4.4 and second with Android 6.0.1. My application works very well on the first phone, but not on the second. I heard, that there is a new permission for writing on SD-card on Android 6.0.1: WRITE_MEDIA_STORAGE. But with this permission I have the following error:
"android.permission" contain an unknown permission WRITE_MEDIA_STORAGE
So, the question is: how to write on SD-card on Android 6.0.1?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions