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.


4 months ago
Expert tip

Solutions on the web83

Solution icon of github
via GitHub by flazep3
, 8 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 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 stackoverflow
File not found: mario.png (Internal)

Solution icon of stackoverflow
File not found: kodable.props (Internal)

Solution icon of web
File not found: badlogic.jpg (Internal)

Solution icon of web
File not found: badlogic.jpg (Local)

Solution icon of web
File not found: uiskin.png (Internal)

Solution icon of web
via codeproject.com by Unknown author, 1 year ago
File not found: game.atlas (Internal)

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

13 times, 5 days ago
Once, 1 month ago
Once, 3 months ago
2 times, 4 months ago
95 times, 4 months ago
45 more bugmates