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

Game Development | Swooty | 10 months ago
  1. 0

    Cant write nor read to/from external storage with LibGDX

    Stack Overflow | 10 months ago | Swooty
    com.badlogic.gdx.utils.GdxRuntimeException: Error writing file: file.txt (External)
  2. 0

    Cant write/read to/from external storage with LibGDX

    Game Development | 10 months ago | Swooty
    com.badlogic.gdx.utils.GdxRuntimeException: Error writing file: file.txt (External)
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    libcore.io.ErrnoException: open failed: EACCES (Permission denied)

    GitHub | 3 years ago | geeksville
    java.io.FileNotFoundException: /storage/sdcard0/andropilot/newlogs/2013-06-05_21-45-42.tlog.tmp: open failed: EACCES (Permission denied)

  1. Alexandru Popa 2 times, last 2 weeks ago
  2. bmacedo 1 times, last 2 weeks ago
  3. iridic 13 times, last 3 weeks ago
  4. ajinkya_w 6 times, last 1 month ago
  5. Akshay 22 times, last 2 months ago
73 more registered users
7 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. android.system.ErrnoException

    open failed: EACCES (Permission denied)

    at libcore.io.Posix.open()
  2. Android
    IoBridge.open
    1. libcore.io.Posix.open(Native Method)
    2. libcore.io.BlockGuardOs.open(BlockGuardOs.java:186)
    3. libcore.io.IoBridge.open(IoBridge.java:438)
    3 frames
  3. Java RT
    FileOutputStream.<init>
    1. java.io.FileOutputStream.<init>(FileOutputStream.java:87)
    1 frame
  4. libGDX Core
    FileHandle.writeString
    1. com.badlogic.gdx.files.FileHandle.writer(FileHandle.java:322)
    2. com.badlogic.gdx.files.FileHandle.writeString(FileHandle.java:350)
    3. com.badlogic.gdx.files.FileHandle.writeString(FileHandle.java:339)
    3 frames
  5. com.snowdevs.tweetiebirds
    TweetieBirdsGame.create
    1. com.snowdevs.tweetiebirds.TweetieBirdsGame.create(TweetieBirdsGame.java:22)
    1 frame
  6. libGDX Android Backend
    AndroidGraphics.onSurfaceChanged
    1. com.badlogic.gdx.backends.android.AndroidGraphics.onSurfaceChanged(AndroidGraphics.java:254)
    1 frame
  7. Android Platform
    GLSurfaceView$GLThread.run
    1. android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1519)
    2. android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1240)
    2 frames