android - Occasionally 'No implementation found for native .... ' error happens -



android - Occasionally 'No implementation found for native .... ' error happens -

presumably, not case has disscussed here before.

we using can functionalities implemented using jni.

i found error yesterday. rarely, 'no implementation found native' error happens when seek load can library , run function in it.

once reboot system, error gone , works again.

the jni code written in c, not c++.

any help appreciated!!!!

error log : d/dalvikvm( 1514): no jni_onload found in /system/lib/libflexcan.so 0x41945b10, skipping init w/dalvikvm( 1514): no implementation found native lcommunication/flexcan/core/connection;.na_openport:(i)i e/exception( 1514): java.lang.unsatisfiedlinkerror: native method not found: communication.flexcan.core.connection.na_openport:(i)i e/exception( 1514): @ communication.flexcan.core.connection.na_openport(native method) e/exception( 1514): @ communication.flexcan.core.connection.access$0(connection.java:117) e/exception( 1514): @ communication.flexcan.core.connection$receivethread.run(connection.java:147)

you need build library using ndk before using library. after building, generate .so files can used. details: https://developer.android.com/tools/sdk/ndk/index.html

android jni

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -