S stratus Active Member Licensed User Longtime User Jun 12, 2017 #1 Because i decided to learn programming with libgdx, I write a very simple program. The problem is the program works at the start ok,it loads the background image,but after few seconds i have nullpointer exception. Any idea? Attachments libgdx.zip 7.2 KB · Views: 151
Because i decided to learn programming with libgdx, I write a very simple program. The problem is the program works at the start ok,it loads the background image,but after few seconds i have nullpointer exception. Any idea?
Informatix Expert Licensed User Longtime User Jun 13, 2017 #2 When I run your app, I get this error: com.badlogic.gdx.utils.GdxRuntimeException: Couldn't load file: back.png Upvote 0
When I run your app, I get this error: com.badlogic.gdx.utils.GdxRuntimeException: Couldn't load file: back.png
ilan Expert Licensed User Longtime User Jun 13, 2017 #3 in your example there is no File Folder. so no back.png image. where do you store back.png? Upvote 0
S stratus Active Member Licensed User Longtime User Jun 14, 2017 #4 I delete the back.png file by mistake before i upload the zip.Finally the problem with the nullpointer exception error solved by restarting the phone Upvote 0
I delete the back.png file by mistake before i upload the zip.Finally the problem with the nullpointer exception error solved by restarting the phone