2013年8月10日星期六

No JNI_OnLoad found in

Members Great God
my SO file can be used in ANDROID 2.3 years , no No JNI_OnLoad found in the police.
But android 4.0 where there No JNI_OnLoad found in the police. But can also be used. You come across it ?
------ Solution ---------------------------------------- ----
wood has a relationship , can all be used , but it is recommended to implement this function
------ For reference only --------------- ------------------------
I translated mokoid, at 4.0 compiler, reported this error. But I realize this function the way . Also has this error. . . .
------ For reference only -------------------------------------- -
07-29 20:47:30.598: D / dalvikvm (5854): Trying to load lib / data / data / android_serialport_api.sample / lib / libserial_port.so 0x41348bf0
07-29 20:47:30.603: D / dalvikvm (5854): Added shared lib / data / data / android_serialport_api.sample / lib / libserial_port.so 0x41348bf0
07-29 20:47:30.608: D / dalvikvm (5854): No JNI_OnLoad found in / data / data / android_serialport_api.sample / lib / libserial_port.so 0x41348bf0, skipping init

没有评论:

发表评论