java.io.FileNotFoundException: *{file path - used saveInAppExternalFilesDir() configuration with custom folder name}*: open failed: ENOENT (No such file or directory)

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
Expert tip

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!

Solutions on the web

via GitHub by majaDeSmart
, 1 year ago
*{file path - used saveInAppExternalFilesDir() configuration with custom folder name}*: open failed: ENOENT (No such file or directory)
via GitHub by kamoljan
, 2 years ago
/storage/sdcard0/DCIM/Photo_20140808_111024.webp: open failed: EACCES (Permission denied)
via Stack Overflow by Naetmul
, 1 year ago
/storage/0000-0000/Pictures/abc.jpg: open failed: EACCES (Permission denied)
via GitHub by QwertyPong
, 2 years ago
/storage/sdcard/Android/data/com.myproject/files/magazines/my-magazine-try-2014/fonts/Icon : open failed: EINVAL (Invalid argument)
via Stack Overflow by Aviel Gross
, 1 year ago
/mnt/sdcard/myTomatoes/covers/378194.PNG: open failed: ENOENT (No such file or directory)
via Stack Overflow by Arefin
, 2 years ago
/data/data/[packagename ommitted]/databases/mydb.db: open failed: ENOENT (No such file or directory)
java.io.FileNotFoundException: *{file path - used saveInAppExternalFilesDir() configuration with custom folder name}*: open failed: ENOENT (No such file or directory)
at libcore.io.IoBridge.open(IoBridge.java:416)
at java.io.FileOutputStream.(FileOutputStream.java:88)
at java.io.FileOutputStream.(FileOutputStream.java:128)
at java.io.FileOutputStream.(FileOutputStream.java:117)
at pl.aprilapps.easyphotopicker.EasyImage.onPictureReturnedFromGallery(EasyImage.java:298)

Users with the same issue

8 times, 1 year ago
Once, 1 year ago
31 times, 8 months ago
12 times, 4 months ago
2 times, 5 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.