I have to compile SQLite with ndk-build. I am using this documentation http://ift.tt/1hOuVu6
I have folder JNI in app/ and org/ folder in /app/src/
app/
jni/Android.mk
jni/Application.mk
jni/sqlite/*
src/org/sqlite/database/*
After running ndk-build in app folder it builds without errors, but self compiled SQLite require to change imports for SQLite (from android.* to org.*) for example:
From
import android.database.sqlite.SQLiteDatabase;
to
import org.sqlite.database.sqlite.SQLiteDatabase;
Android studio does not recognize org.sqlite namespace imports.
How to fix imports from org.sqlite to be recognized by android studio?
Aucun commentaire:
Enregistrer un commentaire