Search code examples
javalibgdxcross-platformandroid-2.2-froyo

LibGDX development on many platforms


As a student in a software development class I have been assigned to be part of a group project. Naturally our 4 man group decided to make a game. I suggested LibGDX and got a team member to try it, however, when he tried to import the LibGDX project I created in Windows into eclipse on his linux computer it gave him the could not find sdk message. The build was trying to use the SDK path that I had specified in my own windows computer.

Is it possible to have multiple members on different platforms develop with LibGDX. Please let me know if this is not possible, I have already invested multiple days learning how to develop with LibGDX, and hope that there is some way to develop with windows and linux.


Solution

  • Our team work with libgx projects on MAC, Linux and Windows without any problems. Of course you must properly install Android SDK and JDK in every environment, all other dependencies gradle will download for you. I recommend you to use git for effective team work. You can create remote repositories for free on github or bitcucket.

    About IDE, I personally prefer to work with Eclipse, but I know lots of people who works with libgdx in IntelliJ. You should just choose what is more comfortable for you.

    P.S In order to fix error with SDK your friend got in Linux look at this answer: Importing gradle project, android error