Jump to content
  • Advertisement
Sign in to follow this  

I"m using Libgdx and I can't seem to get the android Project to run?

This topic is 2174 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

So I follow this tutorial get everything set up and working and follow it to the letter. Test the desktop version and it works. Everything is just peachy and fine. I then try out the android version of it. Bam it won't start instantly force closes. I decided to start again from scratch maybe I missed something something didn't work. This time I just skip and try to compile the default project. Lo Behold it works display the default thing in both places. I think awesome to myself, so I code what I need to code just show a simple .png with some looping music. Compile it on Desktop it works. Great I think to myself nice now lets try android. I try the android version and it won't work. I tried via emulator and via my phone. No dice. Nothing it just shows me the default project that was compiled. So I think to myself WTF? I deleted the compiled .apk and try to run it again. Same thing happends.

I'm truly at a loss at to what I need to be doing. Here is the link to the tutorial


I'm using Eclipse Juno with the latest version of libgdx and I tried every single target version messing with the androind manifest and using various androind emulators with different OS versions. So I'm truly at a loss as to what i"m going to do or what the hell the problem might be.

EDIT: I discovered the problem is. Any Texture must be in the power of two. so instead of 48 I used 64x64 and everything worked just fine. Edited by rubsnick

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!