Getting started with Libgdx & Android Studio
Getting started with Libgdx & Android Studio
- Before getting started with libgdx install Android studio and configure with required tools and API.
- Download Libgdx from this link https://libgdx.badlogicgames.com/download.html
- Run gdx-setup executable Jar file and you will get a window as below.
- Enter the details and browse the destination and Android SDK path.

- Select the sun project type as per your need here I am going to develop for Android and IOS
- Under extension keep Box2d selected
- Click on Generate
- Navigate to the destination path to ensure project is created.
- Launch android studio and click on import project and navigate to the destination where we created the project and launch it.
- In android studio go to Tool AVD Mananger and launch a virtual device
- 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