com.badlogic.gdx.utils.GdxRuntimeException

Couldn't load file: maps/desktop/bin/Texture/TextureB.png

Solutions on the web454

  • Couldn't load file: maps/desktop/bin/Texture/TextureB.png
  • via Game Development by megabobik
    , 9 months ago
    Couldn't load file: C:/TestGame/desktop/bin/testcar.png
  • via badlogicgames.com by Unknown author, 11 months ago
    Couldn't load file: res/maps/map1.tileset.png
  • Stack trace

    • com.badlogic.gdx.utils.GdxRuntimeException: Couldn't load file: maps/desktop/bin/Texture/TextureB.png at com.badlogic.gdx.graphics.Pixmap.<init>(Pixmap.java:140) at com.badlogic.gdx.graphics.glutils.FileTextureData.prepare(FileTextureData.java:64) at com.badlogic.gdx.graphics.Texture.load(Texture.java:130) at com.badlogic.gdx.graphics.Texture.<init>(Texture.java:121) at com.badlogic.gdx.graphics.Texture.<init>(Texture.java:100) at com.badlogic.gdx.graphics.Texture.<init>(Texture.java:96) at com.badlogic.gdx.maps.tiled.TmxMapLoader.load(TmxMapLoader.java:119) at com.badlogic.gdx.maps.tiled.TmxMapLoader.load(TmxMapLoader.java:104) at de.bitowl.libgdx.L2.<init>(L2.java:117) at de.bitowl.libgdx.MenuScreen$1.clicked(MenuScreen.java:128) at com.badlogic.gdx.scenes.scene2d.utils.ClickListener.touchUp(ClickListener.java:89) at com.badlogic.gdx.scenes.scene2d.InputListener.handle(InputListener.java:57) at com.badlogic.gdx.scenes.scene2d.Stage.touchUp(Stage.java:342) at com.badlogic.gdx.backends.lwjgl.LwjglInput.processEvents(LwjglInput.java:320) at com.badlogic.gdx.backends.lwjgl.LwjglApplication.mainLoop(LwjglApplication.java:199) at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:114) Caused by: com.badlogic.gdx.utils.GdxRuntimeException: File not found: maps\desktop\bin\Textures\TextureB.png (Internal) at com.badlogic.gdx.files.FileHandle.read(FileHandle.java:136) at com.badlogic.gdx.files.FileHandle.readBytes(FileHandle.java:220) at com.badlogic.gdx.graphics.Pixmap.<init>(Pixmap.java:137)

    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

    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 11 months ago
    Unknown user
    Once, 11 months ago
    Unknown user
    Once, 11 months ago
    Unknown user
    Once, 1 year ago
    6 more bugmates