By Infaust
on Wed, 06/20/2012 - 17:06
[B][SOLVED][/B]
Hi,
I'm starting a new project from the ImageTargets sample, but I'm having problems when I want to rename the package, functions and so on.
I got the ImageTargets sample working, and then I tried to rename the package in /src and the class names.
I updated the android.mk file with the renamed .cpp files, and then I used javah with the native java functions and copied the generated function headers to the .cpp files (java_com_packageName_class_functionName...).
I also run the ndk-build comand to compile everything, but when I run the app I get the following error on the Log:
No implementation found for native Lcom/packageName/AugmentedRealityActivity;.getOpenGlEsVersionNative ()I;
...
java.lang.UnsatisfiedLinkError: getOpenGlEsVersionNative
Did someone face the same problem? Maybe I forgot something to do?
Thanks,
Infaust.
Re: UnsatisfiedLinkError when modifying ImageTargets sample
Re: UnsatisfiedLinkError when modifying ImageTargets sample
Re: UnsatisfiedLinkError when modifying ImageTargets sample