android-leveldb icon indicating copy to clipboard operation
android-leveldb copied to clipboard

UnsatisfiedLinkError on Alps devices

Open mingfai opened this issue 10 years ago • 3 comments

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.

mingfai avatar Oct 07 '13 22:10 mingfai