/e:/fileName.txt: open failed: ENOENT (No such file or directory)

Samebug tips1

Check if android.permission.WRITE_EXTERNAL_STORAGE is in AndroidManifest.xml. Also, add checks in your code to see if the storage is available to write before trying to write. And last: create a folder to put your files inside.

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

Solutions on the web313

  • Stack trace

    • /e:/fileName.txt: open failed: ENOENT (No such file or directory) at at<init>( at<init>( at com.example.itesterror.MainActivity.onCreate( at at at at at$600( at$H.handleMessage( at android.os.Handler.dispatchMessage( at android.os.Looper.loop( at at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke( at$ at at dalvik.system.NativeStart.main(Native Method) Caused by: open failed: ENOENT (No such file or directory) at Method) at at

    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

    619 times, last one
    39 times, last one
    Alexandru PopaAlexandru Popa
    Agócs TamásAgócs Tamás
    5 times, last one
    43 more bugmates