Use LibGdx libraries with existing Android project?

I have a project that I was working on, which is a standard android application that currently does not contain any other external libraries. I am now looking at creating a game at the end of the application (this is a survey, so after the questions I want to make a mini-game).

So, what I'm trying to find out is, can I just import the libraries that it uses and connect them to my project, rather than create a LibGDX project and import it?

+4
source share
1 answer

What this means is your personal preference. Answering your question, yes, you can just add jar files, etc. In your current project, however, you will have to edit your manifest and add some to some other things besides cans using this setting . In my personal opinion, it would be easier to create a libgdx project using the tutorial found here , but in the end, as I said, it all depends on what exactly you want to do.

Before you decide, ask yourself.

  • I want everything to be in one project, or can it be more than one?

  • What will be better in the long run for managing my application.

  • I want to facilitate now or later?

Hooray!

+2
source

Source: https://habr.com/ru/post/1533775/


All Articles