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
, 2 years 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 com.badlogic.gdx.files.FileHandle.writeString(FileHandle.java:353) at com.badlogic.gdx.files.FileHandle.writeString(FileHandle.java:339) at com.snowdevs.tweetiebirds.TweetieBirdsGame.create(TweetieBirdsGame.java:22) at com.badlogic.gdx.backends.android.AndroidGraphics.onSurfaceChanged(AndroidGraphics.java:254) at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1519) at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1240)Caused by: com.badlogic.gdx.utils.GdxRuntimeException: Error writing file: file.txt (External) at com.badlogic.gdx.files.FileHandle.writer(FileHandle.java:330) at com.badlogic.gdx.files.FileHandle.writeString(FileHandle.java:350) ... 5 moreCaused by: java.io.FileNotFoundException: /storage/emulated/0/file.txt: open failed: EACCES (Permission denied) at libcore.io.IoBridge.open(IoBridge.java:452) at java.io.FileOutputStream.<init>(FileOutputStream.java:87) at com.badlogic.gdx.files.FileHandle.writer(FileHandle.java:322) ... 6 moreCaused by: android.system.ErrnoException: open failed: EACCES (Permission denied) at libcore.io.Posix.open(Native Method) at libcore.io.BlockGuardOs.open(BlockGuardOs.java:186) at libcore.io.IoBridge.open(IoBridge.java:438) ... 8 more