com.badlogic.gdx.utils.GdxRuntimeException

Error reading file: /storage/emulated/0/./opsu/Replays/1484468012776-32744060336.osr (Absolute)


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 web375

Solution icon of github
via GitHub by flazep3
, 6 months ago
Error reading file: /storage/emulated/0/./opsu/Replays/1484468012776-32744060336.osr (Absolute)

Solution icon of web
via overlap2d.com by Unknown author, 1 year ago
Error reading file: \project.dt (Absolute)

Solution icon of github
via GitHub by ilya666satana
, 1 year ago
Error writing file: ./opsu/.opsu.log (External)

Solution icon of github
via GitHub by Abbon
, 1 year ago
Error writing file: ./opsu/.opsu.log (External)

Solution icon of stackoverflow
via Stack Overflow by 1ncline
, 1 year ago
Couldn't load file: /storage/emulated/0/proj/Assets/Images/Screens/Title.png

Solution icon of stackoverflow
via Stack Overflow by megamzero
, 1 year ago
Error reading file: data/0.png (Internal)

Solution icon of github
via GitHub by mistakenot
, 1 year ago
Error reading file: /home/charlie/libgdx/libgdx-fbxconv-gui/libgdx-model-viewer.temp.g3dj (Absolute)

Solution icon of github
Error reading file: C:\Users\Simon\Downloads\visTest\vis\assets\shader\font (2).frag (Absolute)

Solution icon of web
via badlogicgames.com by Unknown author, 1 year ago
Error reading pack file:

Solution icon of stackoverflow
via Stack Overflow by Unknown author, 1 year ago
Error reading pack file: uiskin.atlas

Stack trace

  • 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

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

Once, 1 month ago
2 times, 2 months ago
95 times, 2 months ago
Once, 6 months ago
Once, 9 months ago
43 more bugmates