• Sponsored Links

Step 4 : Step by Step libGDX Tutorial : Importing Projects in Eclipse and Android Studio

Share this :

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

EclipseImport

  • Select Gradle -- > Gradle Project -- Next -- Next

EclipseGradleImport

  • 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

EclipseGradleProjectImport

  • Click finish and it will synchronize  with gradle root project using following window , it should take 1 to 2 minutes to finish this .

SynchronizingGradleRoot

  • Once this is done open Package Explorer of Eclipse and you should see following projects there :

versionPBDemo
versionpb-android
versionpb-core
versionpb-desktop
versionpb-html
versionpb-ios

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 ...


Leave a Reply

Your email address will not be published. Required fields are marked *

− 2 = 7