java.io.FileNotFoundException

tip

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.

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

  • GitHub comment 891#252415217
    via GitHub by KeyWeeUsr
    ,
  • GitHub comment 31#122182202
    via GitHub by alphamu
    ,
    • java.io.FileNotFoundException: /storage/emulated/0/kivy/Pixel/android.txt: open f ailed: ENOENT (No such file or directory) at libcore.io.IoBridge.open(IoBridge.java:409) at java.io.FileInputStream.<init>(FileInputStream.java:78) at org.kivy.android.Project.scanDirectory(Project.java:72) at org.kivy.android.ProjectChooser.onStart(ProjectChooser.java:56) at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1177) at android.app.Activity.performStart(Activity.java:5461) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2386) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2471) at android.app.ActivityThread.access$900(ActivityThread.java:175) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1308) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:146) at android.app.ActivityThread.main(ActivityThread.java:5602) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:515) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1283) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1099) at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132) at dalvik.system.NativeStart.main(Native Method) Caused by: libcore.io.ErrnoException: open failed: ENOENT (No such file or direct ory) at libcore.io.Posix.open(Native Method) at libcore.io.BlockGuardOs.open(BlockGuardOs.java:110) at libcore.io.IoBridge.open(IoBridge.java:393) ... 18 more

    Users with the same issue

    Indri YunitaIndri Yunita
    2 times, last one,
    gamebusterzgamebusterz
    1 times, last one,
    bmacedobmacedo
    1 times, last one,
    filpgamefilpgame
    1 times, last one,
    AkshayAkshay
    2 times, last one,
    43 more bugmates