Skip to content

Error! External storage (SD card) is not available for writing. #69

@SahilRajpal-hub

Description

@SahilRajpal-hub

When is started the recording it gave me toats "Error! External storage (SD card) is not available for writing." . I searched the error lines and found a bug in these lines of RecordFragment.java class in startRecording() function

if (!folder.exists()) { // a folder for sound recordings doesn't exist -> create the folder boolean ok = Paths.isExternalStorageWritable() && folder.mkdir(); if (!ok) { EventBroadcaster.send(getContext(), R.string.error_mkdir); return false; } }

i found that mkdir() was giving false. i.e. folder is not created

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