com.badlogic.gdx.utils.GdxRuntimeException

couldn't load file 'wawa.jpg'

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web446

  • via wenda.io by Unknown author, 1 year ago
    couldn't load file 'wawa.jpg'
  • via Stack Overflow by Cubius
    , 11 months ago
    couldn't load file 'wawa.jpg'
  • Couldn't load file: badlogic.jpg
  • Stack trace

    • com.badlogic.gdx.utils.GdxRuntimeException: couldn't load file 'wawa.jpg' at com.badlogic.gdx.graphics.Pixmap.<init>(Pixmap.java:135) at com.badlogic.gdx.graphics.Texture.<init>(Texture.java:126) at com.badlogic.gdx.graphics.Texture.<init>(Texture.java:104) at com.test.myfirsttriangle.MyFirstTriangle.create(MyFirstTriangle.java:29) at com.badlogic.gdx.backends.android.AndroidGraphics.onSurfaceCreated(AndroidGraphics.java:284) at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1348) at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1118) Caused by: com.badlogic.gdx.utils.GdxRuntimeException: Error reading file: data/wawa.jpg (Internal) at com.badlogic.gdx.backends.android.AndroidFileHandle.read(AndroidFileHandle.java:64) at com.badlogic.gdx.graphics.Pixmap.<init>(Pixmap.java:132) ... 6 more Caused by: java.io.FileNotFoundException: data/wawa.jpg at android.content.res.AssetManager.openAsset(Native Method) at android.content.res.AssetManager.open(AssetManager.java:314) at android.content.res.AssetManager.open(AssetManager.java:288) at com.badlogic.gdx.backends.android.AndroidFileHandle.read(AndroidFileHandle.java:62) ... 7 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

    15 times, 3 days ago
    407 times, 5 days ago
    1398 times, 1 month ago
    2 times, 1 month ago
    2 times, 2 months ago
    43 more bugmates