Importing Projects in Eclipse and Android Studio
In previous section we have learned on how to create demo projects using libGDX setup app . This section focuses on how to import the generated projects in last step into Eclipse so we can actually start working on them and execute them .
- Open Eclipse in a workspace of your choice , make sure its not the same directory as the one which you used for libGDX project .
Execute following steps in Eclipse :
- File --> Import
- Select Gradle -- > Gradle Project -- Next -- Next
- Add Project root directory i.e. project Destination which was using while using libGDX Project Setup . For my case it was D:\Paarth\Google_Drive\Google Drive\Codes\libgdx\versionPBDemo
- Click finish and it will synchronize with gradle root project using following window , it should take 1 to 2 minutes to finish this .
- Once this is done open Package Explorer of Eclipse and you should see following projects there :
This completes Importing Projects in Eclipse and Android Studio . Wow Importing Projects in Eclipse is done . next Step is to execute the demo project for Windows ...
Table of Contents
- Overview of libGDX
- Environment SetUp
- Creating Project in libGDX
- Importing Projects in Eclipse
- Executing demo project for Windows
- Executing demo project for Android
- Executing demo project for HTML5
- Developing a real flappy bird game remake game using libGDX from scratch
- Environment Set Up for Game
- Understand basics of Game
- Exploring States and Game State Manager
- Create Play State and Make Bird Fly
- Building Obstacles and flying through them
- Collision and sound effect
- Porting the Game in Android Device
- libGDX More possibilities to Brisky Demo