A
A
Anton Borisenko2017-02-23 01:10:03
Java
Anton Borisenko, 2017-02-23 01:10:03

Where can I get the right library to work with SQLite?

I am writing a game in Android Studio with libgdx. I decided to use SQLite, but I found out that I don't have android.content, android.database, android.database libraries (those that definitely don't exist). Where can I get the required sqlite cross-platform library and why don't I have it? Didn't check the right box when creating the libgdx project?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
E
exenza, 2017-02-23
@tonymontano

SQLite does not arrive by default in LibGdx, and I have not heard of such a daw either.
There is a library https://github.com/dotw/gdx-sqlite for LibGdx to work with SQLite
stackoverflow.com/a/18576766/5007340

A
Anton @ Lyalin, 2017-04-01
@toxa_1995

Can be connected via maven

<!-- https://mvnrepository.com/artifact/org.xerial/sqlite-jdbc -->
<dependency>
    <groupId>org.xerial</groupId>
    <artifactId>sqlite-jdbc</artifactId>
    <version>3.16.1</version>
</dependency>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question