Wednesday, 5 September 2018

Getting started with Libgdx & Android Studio



Getting started with Libgdx & Android Studio

  1. Before getting started with libgdx install Android studio and configure with required tools and API.
  2. Download Libgdx from this link https://libgdx.badlogicgames.com/download.html
  3. Run gdx-setup executable Jar file and you will get a window as below.
  4. Enter the details and browse the destination and Android SDK path.
  5. Select the sun project type as per your need here I am going to develop for Android and IOS 
  6. Under extension keep Box2d selected
  7. Click on Generate
  8. Navigate to the destination path to ensure project is created.
  9. Launch android studio and click on import project and navigate to the destination where we created the project and launch it.
  10. In android studio go to Tool AVD Mananger and launch a virtual device
  11. Now go to Run and click on Run Android to run the project on virtual device. You should get a screen as below in the virtual emulator.

No comments:

Post a Comment