title: How does one migrate libGDX projects to another system?
body: <p>I have libGDX projects on one laptop.  I need to move to another laptop.  I am using eclipse on both windows laptops.  I have a git repo I can push to and pull from.  I know that I can clone the <a href="https://github.com/libgdx/libgdx-demo-cuboc" rel="nofollow noreferrer">https://github.com/libgdx/libgdx-demo-cuboc</a> and import it into eclipse as a gradle project.  But when I try this with my libGDX projects the "Build Model" fails.</p>
  
  <p><img src="https://i.stack.imgur.com/Bvebm.png" alt="enter image description here"></p>
  
  <p>I suspect I did not export the project correctly from my source laptop.
  Can someone please point out what I am doing wrong?</p>
  
  <p>Update:</p>
  
  <p>OK. When I exported the projects from Eclipse I exported as plain old Android projects (<code>Export Android Application</code>), so I figured that I should export the project as <code>Generate Gradle build files</code> but I get this error when I attempt to do so ...</p>
  
  <p><img src="https://i.stack.imgur.com/2w9Tf.png" alt="enter image description here"></p>
  
  <p>... and yes I did this too ...</p>
  
  <p><img src="https://i.stack.imgur.com/viW4Y.png" alt="enter image description here"></p>
  
  <p>... and I still get the same error.</p>
  
  <p>UPDATE: After accepting JH's answer. Thank you for your answer BTW.</p>
  
  <p>I was able to copy files in the project, but with gradle one copies the files into the directory libGDX generated the base project.  I was coping the files into my Eclipse workspace, which is why the files were not showing up in my Eclipse project ... I know confusing huh.  Well I was able to get my project to build but whenever I launched the app if crashed at runtime (see <a href="https://stackoverflow.com/questions/28470101/java-lang-unsatisfiedlinkerror-native-method-not-found-com-badlogic-gdx-backen">java.lang.UnsatisfiedLinkError: Native method not found: com.badlogic.gdx.backends.android.AndroidGL20.glGenTexture:()</a>) I decided to give up on Eclipse and migrate my project to Android Studio.  After taking a quick look at the Android Studio I was FINALLY able to build my app and execute it without runtime errors on my new laptop!</p>
  
  <p>For clarity here is what I did to migrate my project from one laptop to another.</p>
  
  <p>1) I got the my code out my git repo.</p>
  
  <p>2) I downloaded the latest gdx-setup.jar, 1.5.3, from the libgdx project.</p>
  
  <p>3) I generated a project, being careful to use the correct values for: Name, Package, Game class and Android SDK.  For Destination I used c:\Users\Me\.</p>
  
  <p>4) I copied the directories android, core, html, desktop and ios directories from my git repo into the corresponding directories in the project that gdx-setup.jar created.</p>
  
  <p>5) Then I started Android Studio and follow the directions found here: <a href="https://developer.android.com/sdk/installing/migrate.html" rel="nofollow noreferrer">Migrating to Android Studio</a></p>
  
  <p>6) updated my build.gradle to include google play service and BANG! it worked</p>