Skip to content
This repository has been archived by the owner on Mar 31, 2022. It is now read-only.

googolmo/Leveldb-Android

Repository files navigation

Leveldb-Android

Port leveldb to Android

======================

Build Status

###Build

  1. Configure Project
./configure.sh
  1. Build jni and copy so file
./build.sh
  1. Build Project
./gradlew build

How to import

  • aar (may be can't work)
dependencies {
    compile 'im.amomo.leveldb:leveldb:1.0.1@aar'
}
  • remote jar and local so
dependencies {
    compile 'im.amomo.leveldb:leveldb:1.0.1@jar'
}

save armeabi/libleveldbjni.so to jniLibs/armeabi/libleveldbjni.so save armeabi-v7a/libleveldbjni.so to jniLibs/armeabi-v7a/libleveldbjni.so

  • local jar and local so

save jar to libs/

Usage (TODO)