Java-Gaming.org Hi !
Featured games (91)
games approved by the League of Dukes
Games in Showcase (764)
Games in Android Showcase (229)
games submitted by our members
Games in WIP (852)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  How do I import libgdx to AIDE for Android?  (Read 4606 times)
0 Members and 1 Guest are viewing this topic.
Offline tom_mai78101
« Posted 2014-02-06 06:51:46 »

Since libgdx moved to github, there aren't a lot of tutorials showing you how to import libgdx into Android. Even more difficult is the fact that I don't know what JARs to choose to put into AIDE.

Can someone with knowledge on libgdx show me what JARs I need to use to import into my phone, and also show me how I can import and set the build path to the JAR, in order to make Android apps in AIDE?

For those who don't know AIDE, it is an integrated development environment forAndroid that allows developers to create, compile, and debug Android, Java, and C apps on an Android phone or tablet. In my case, it is my phone.

One would ask why I am not programming on a computer. I am not allowed to bring a computer with me, therefore I have to resort to using my phone as my main dev device.

Thanks in advance.
Offline jrenner
« Reply #1 - Posted 2014-02-06 08:17:24 »

I don't know about AIDE, but if you need to know what jars to put where, you can take a look at the docs for libgdx with IntelliJ:

https://github.com/libgdx/libgdx/wiki/Using-libgdx-with-intellij-idea#wiki-quick-reference
Offline tom_mai78101
« Reply #2 - Posted 2014-02-06 11:37:35 »

Thanks for providing the link.

With the help of the screenshots, I can now actually import the libraries via File Explorer to extract the nightly build zip file to the libs directory folder.

Since there aren't much guides left, I will just post the steps I did here.

1. Download libgdx nightly builds ZIP file.
2. In AIDE, create a new Hello World project.
3. In any file explorer app (I use ES File Explorer), extract the following contents into the "libs" folder in your newly created project folder:

gdx.jar
gdx-backend-android.jar
ARM folders in the ZIP, the whole folders.

4. Rebuild project. Done.
Pages: [1]
  ignore  |  Print  
 
 

 
EgonOlsen (591 views)
2018-06-10 19:43:48

EgonOlsen (694 views)
2018-06-10 19:43:44

EgonOlsen (478 views)
2018-06-10 19:43:20

DesertCoockie (831 views)
2018-05-13 18:23:11

nelsongames (1026 views)
2018-04-24 18:15:36

nelsongames (1083 views)
2018-04-24 18:14:32

ivj94 (1664 views)
2018-03-24 14:47:39

ivj94 (590 views)
2018-03-24 14:46:31

ivj94 (1501 views)
2018-03-24 14:43:53

Solater (568 views)
2018-03-17 05:04:08
Deployment and Packaging
by philfrei
2018-08-20 02:33:38

Deployment and Packaging
by philfrei
2018-08-20 02:29:55

Deployment and Packaging
by philfrei
2018-08-19 23:56:20

Deployment and Packaging
by philfrei
2018-08-19 23:54:46

Deployment and Packaging
by philfrei
2018-08-19 23:53:08

Deployment and Packaging
by philfrei
2018-08-19 23:50:04

Java Gaming Resources
by philfrei
2017-12-05 19:38:37

Java Gaming Resources
by philfrei
2017-12-05 19:37:39
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!