title: NDK HelloWorld project : How to create .h files using javah
body: <p>I am trying to create a helloWorld app which will print a log..</p>
  
  <ul>
  <li>i tried compiling the project using ndk </li>
  <li>created .so file in libs folder</li>
  </ul>
  
  <p><strong>Problem:</strong>
   - i dont know how to create machine generated header files according to my HelloWorld.java class
   - Is it because of that its giving me the Error </p>
  
  <pre><code>java.lang.UnsatisfiedLinkError: Native method not found
  </code></pre>
  
  <p>My Android.mk file looks like</p>
  
  <pre><code> LOCAL_PATH := $(call my-dir)  
  include $(CLEAR_VARS)  
  LOCAL_LDLIBS := -llog  
  LOCAL_MODULE    := ndk1  
  LOCAL_SRC_FILES := hello.c  
  include $(BUILD_SHARED_LIBRARY)  
  </code></pre>