When I try to import from eclipse,and select root directory -> select the folder where I have all the my-gdx-game-android,html,desktop.. It only imports the android and it shows a message:
Could not set the project description for 'my-gdx-game-android' because the project description file (.project) is out of sync with the file system.
If all of your old projects exist in a single directory or in a single parent directory, you can do File -> Import... -> Existing Projects into workspace. Choose a root directory that is a parent all of the projects you want to import. You will then be able to import all of the projects at once.
You need to use "File"->"Import"->"General"->"Import Existing Project" to be able to use your existing project.
Make sure when you import your projects that you select Existing Projects into Workspace and not Existing Android Code into Workspace.
If you select the second one, Eclipse will only import Android specific projects. The base project in libgdx is a pure Java project that doesn't rely specifically on Android so it won't be imported using that function. This is also true for your html and desktop projects since they're not Android projects.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With