No implementation found for int

Asked

Viewed 57 times

-1

I’m having trouble trying to use some extra libs in my project I have a JNI folder and or OBJ both have the necessary files, only the time I click on the button to perform the action happens this error.

1 answer

1

I have solved something similar using the following line of code in combination with a thread that made a delay of about 5 seconds:

            System.loadLibrary("SuaLibAqui");

but that same code gave me the Unsatisfiedlinkerror exception that is a few lines down on your logcat, and the way I resolved was to put the above code to load the lib during a splash screen.

  • Thank you very much but I solved, I left the libraries only as lib, because inside it had an Activity that used the lib to run the app, so I deleted the main file, I set the project as lib and I used the concepts of Activity that I deleted and worked perfectly! Since I couldn’t handle JNI... I tried these System.loadLibrary but it didn’t work because the C libs were compiled for that specific package! Hugging !

Browser other questions tagged

You are not signed in. Login or sign up in order to post.