This week's book giveaway is in the Agile and Other Processes forum. We're giving away four copies of The Little Book of Impediments (e-book only) and have Tom Perry on-line! See this thread for details.
I am using Ubuntu14.04, Eclipse Luna.
I am referring Hello World Example given link
http://www.ntu.edu.sg/home/ehchua/programming/android/Android_NDK.html My project name is HelloNDK.
My project path is /home/androiddev/workspace_luna/HelloNDK
In AndroidManifest.xml I can see package which I use is named as: com.delta.hellondk
Android.jar which automatically added in project which is under Android 5.0.1 & its location shown as
When I use javah command, I got error.
I use following line in terminal.
when I use following command, I got error as follows:
When i clean build project before using these commands, at h location is /home/androiddev/workspace_luna/HelloNDK/bin/classes/com/delta/hellondk in this i have BuildConfig.class ,R$attr.class,R$dimen.class,R$layout.class,R$string.class,JNIActivity.class,R.class,R$drawable.class,R$menu.class generated.
Now I search lots of keywords in google, stackoverflow regarding how to generate HelloJNI.h automatically. But i failed.
Please guide me!
Millions saw the apple fall, but Newton asked why.