com.badlogic.gdx.utils.GdxRuntimeException: Error writing file: file.txt (External)

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

Solutions on the web

via Game Development by Swooty
, 1 year ago
Error writing file: file.txt (External)
via Stack Overflow by Bashar
, 1 year ago
Error writing file: file.txt (External)
via GitHub by rdamiano
, 2 years ago
Error writing file: directory/credits.txt (External)
via Game Development by user2933016
, 1 year ago
Error writing file: bird.json (Internal)
via games1234.net by Unknown author, 2 years ago
Error writing file: bird.json (Internal)
com.badlogic.gdx.utils.GdxRuntimeException: Error writing file: file.txt (External)
at libcore.io.Posix.open(Native Method)
at libcore.io.BlockGuardOs.open(BlockGuardOs.java:186)
at libcore.io.IoBridge.open(IoBridge.java:438)
at java.io.FileOutputStream.(FileOutputStream.java:87)
at com.badlogic.gdx.files.FileHandle.writer(FileHandle.java:322)
at com.badlogic.gdx.files.FileHandle.writeString(FileHandle.java:350)
at com.snowdevs.tweetiebirds.TweetieBirdsGame.create(TweetieBirdsGame.java:22)
at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1519)
at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1240)

Users with the same issue

162 times, 10 months ago
Once, 1 year ago
29 times, 1 year ago
3 times, 1 year ago
3 times, 1 year ago
119 more bugmates

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