litl / android-leveldb Goto Github PK
View Code? Open in Web Editor NEWJNI bindings for leveldb
License: Other
JNI bindings for leveldb
License: Other
We need to build the library on these platforms, with Android 5 coming up
Hi,
In my project, I use "remote service". So can I query leveldb from remote service?
Thanks,
Thuc.
Android Studio doesn't seem to allow dependency to Android platform in normal scope.
http://stackoverflow.com/a/17833629/39701
<dependencies>
<dependency>
<groupId>com.google.android</groupId>
<artifactId>android</artifactId>
<version>4.1.1.4</version>
<scope>provided</scope>
</dependency>
</dependencies>
It's a rare case. My app deployed to over 1k devices and got only 2 exception reports. Both are Android 4.2.1.
The following are two different cases:
On a "alps ITOUCH HD2S":
java.lang.UnsatisfiedLinkError: Couldn't load leveldbjni from loader dalvik.system.PathClassLoader[DexPathList[dexElements=[zip file "/data/app/MY.PACKAGE-2.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib]]]: findLibrary returned null
at java.lang.Runtime.loadLibrary(Runtime.java:359)
at java.lang.System.loadLibrary(System.java:514)
at com.litl.leveldb.DB.<init>(SourceFile:151)
On a "alps N9500"
java.lang.UnsatisfiedLinkError: Cannot load library: load_library(linker.cpp:761): not a valid ELF executable: /data/app-lib/MY.PACKAGE-1/libleveldbjni.so
at java.lang.Runtime.loadLibrary(Runtime.java:365)
at java.lang.System.loadLibrary(System.java:514)
at com.litl.leveldb.DB.<init>(SourceFile:151)
-> MTK6589 -1209 MHz Quad-core
I don't think we should do anything to cater those unknown platforms. I fire the report just for record and please feel free to close it.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.