com.badlogic.gdx.utils.GdxRuntimeException

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.

  • touchDown
    via GitHub by flazep3
    ,
    • com.badlogic.gdx.utils.GdxRuntimeException: Error reading file: /storage/emulated/0/./opsu/Replays/1484468012776-32744060336.osr (Absolute) at com.badlogic.gdx.files.FileHandle.read(FileHandle.java:144) at com.badlogic.gdx.backends.android.AndroidFileHandle.read(AndroidFileHandle.java:80) at fluddokt.opsu.fake.FileInputStream.<init>(FileInputStream.java:10) at itdelatrisu.opsu.io.OsuReader.<init>(OsuReader.java:50) at itdelatrisu.opsu.replay.Replay.load(Replay.java:136) at itdelatrisu.opsu.states.GameRanking.mousePressed(GameRanking.java:188) at fluddokt.opsu.fake.StateBasedGame.mousePressed(StateBasedGame.java:247) at fluddokt.opsu.fake.StateBasedGame.touchDown(StateBasedGame.java:227) at com.badlogic.gdx.InputMultiplexer.touchDown(InputMultiplexer.java:90) at com.badlogic.gdx.backends.android.AndroidInput.processEvents(AndroidInput.java:356) at com.badlogic.gdx.backends.android.AndroidGraphics.onDrawFrame(AndroidGraphics.java:420) at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1557) at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1263) Caused by: java.io.FileNotFoundException: /storage/emulated/0/./opsu/Replays/1484468012776-32744060336.osr: open failed: ENOENT (No such file or directory) at libcore.io.IoBridge.open(IoBridge.java:453) at java.io.FileInputStream.<init>(FileInputStream.java:78) at com.badlogic.gdx.files.FileHandle.read(FileHandle.java:140) ... 12 more Caused by: libcore.io.ErrnoException: open failed: ENOENT (No such file or directory) at libcore.io.Posix.open(Native Method) at libcore.io.BlockGuardOs.open(BlockGuardOs.java:110) at libcore.io.IoBridge.open(IoBridge.java:437) ... 14 more

    Users with the same issue

    Aravind
    2 times, last one,
    Indri Yunita
    63 times, last one,
    gamebusterz
    1 times, last one,
    bmacedo
    1 times, last one,
    iridic
    1 times, last one,
    42 more bugmates