java.io.FileNotFoundException

/dev/urandom: open failed: EACCES (Permission denied)

Samebug tips1

Before using FileOutputStream check that there's no directory or file with the same name you're trying to use. Trying to remove it works as well. Try using FileAsyncHttpResponseHandler(context) as well!


rafaelrafael

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web230

  • Stack trace

    • java.io.FileNotFoundException: /dev/urandom: open failed: EACCES (Permission denied) at libcore.io.IoBridge.open(IoBridge.java:427) at java.io.FileOutputStream.<init>(FileOutputStream.java:88) at java.io.FileOutputStream.<init>(FileOutputStream.java:73)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    PierrePierre
    Once,
    Hiren AmaliyarHiren Amaliyar
    12 times, last one
    AravindAravind
    2 times, last one
    Unknown UserUnknown User
    2 times, last one
    rafaelrafael
    2 times, last one
    97 more bugmates