Native application crashes on Android L -
i have native application worked on android kitkat both dalivik , art runtimes, crashes on android l following trace:
e/art(12810): dlopen("/data/app-lib/com.mylib.example", rtld_lazy) failed: dlopen failed: cannot locate symbol "issetugid" referenced "mylib.so"... d/androidruntime(12810): shutting down vm e/androidruntime(12810): fatal exception: main e/androidruntime(12810): process: com.mylib.example, pid: 12810 e/androidruntime(12810): java.lang.unsatisfiedlinkerror: dlopen failed: cannot locate symbol "issetugid" referenced "mylib.so"... e/androidruntime(12810): @ java.lang.runtime.loadlibrary(runtime.java:364) e/androidruntime(12810): @ java.lang.system.loadlibrary(system.java:610)
is art runtime in android l different kitkat? there no new ndk available yet, therefore, how avoid crash, because seems function issetugid
no longer supported.
the issue has been fixed in final android 5.0 release. there no need re-compile existing binaries.
however, if native lib compiled target android-21, fails on previous android versions (< 5.0)
Comments
Post a Comment