Hey guys, I'm currently trying to write hello-jni but in my own code and projects to get an idea of the flow of getting an android app working.
I've setup my make file, my source file, got it all compiling. But I get an unsatisfied link error when I try to run the app. So I take a look around and see that I need to run the javah to create a .h file that will forward declare my function and avoid name mangling.
So I setup an external tool in Eclipse using this guide, and it seems to work fine, except I get an error saying
"Error: cannot access android.app.Activity
From what searching I've done it's because it can't find the android.jar in the sdk directory, but how to I provide it properly? Or is that what is actually being looked for?
I'm so close to getting this to work haha.