title: ndk-build error while Compile the Source Code
body: <p>i am following the following tutorial
  <a href="http://taylorpeer.com/hello-world-cpp-android-ndk/" rel="nofollow">http://taylorpeer.com/hello-world-cpp-android-ndk/</a></p>
  
  <p>when i run ndk-build in the terminal. i get following errors</p>
  
  <pre><code>Compile++ thumb  : hello-jni &lt;= hello-jni.cpp
  jni/hello-jni.cpp:4:5: error: stray '\342' in program
  jni/hello-jni.cpp:4:5: error: stray '\200' in program
  jni/hello-jni.cpp:4:5: error: stray '\234' in program
  jni/hello-jni.cpp:4:5: error: stray '\342' in program
  jni/hello-jni.cpp:4:5: error: stray '\200' in program
  jni/hello-jni.cpp:4:5: error: stray '\235' in program
  jni/hello-jni.cpp:9:17: error: stray '\342' in program
  jni/hello-jni.cpp:9:17: error: stray '\200' in program
  jni/hello-jni.cpp:9:17: error: stray '\234' in program
  jni/hello-jni.cpp:9:17: error: stray '\342' in program
  jni/hello-jni.cpp:9:17: error: stray '\200' in program
  jni/hello-jni.cpp:9:17: error: stray '\235' in program
  jni/hello-jni.cpp:4:15: error: 'C' does not name a type
  make: *** [obj/local/armeabi/objs/hello-jni/hello-jni.o] Error 1
  </code></pre>
  
  <p><strong>following is the list of my files</strong> </p>
  
  <p>java file found in src folder</p>
  
  <p>.</p>
  
  <pre><code>package com.example;
  import android.app.Activity;
  import android.os.Bundle;
  import android.widget.TextView;
  
      public class Hellojnicpp extends Activity {
            /** Called when the activity is first created. */
            @Override
            public void onCreate(Bundle savedInstanceState) {
                  super.onCreate(savedInstanceState);
                  /** Create a TextView and set it to display
                  * text loaded from a native method.
                  */
                  TextView tv = new TextView(this);
                  tv.setText(stringFromJNI());
                  setContentView(tv);
            }
            /** A native method that is implemented by the
            * ‘hello-jni’ native library, which is packaged
            * with this application.
            */
            public native String stringFromJNI();
            /** Load the native library where the native method
            * is stored.
            */
            static {
                  System.loadLibrary("hello-jni");
            }
      }
  </code></pre>
  
  <p><strong>Android.mk file</strong></p>
  
  <pre><code>LOCAL_PATH := $(call my-dir)
  
  
  include $(CLEAR_VARS)
  LOCAL_LDLIBS    := -llog
  
  LOCAL_MODULE := hello-jni
  LOCAL_SRC_FILES := hello-jni.cpp
  
  include $(BUILD_SHARED_LIBRARY)
  </code></pre>
  
  <p><strong>.cpp file</strong></p>
  
  <pre><code>#include &lt;string.h&gt;
   #include &lt;jni.h&gt;
  
      extern “C” {
            JNIEXPORT jstring JNICALL
            Java_com_example_Hellojnicpp_stringFromJNI
            (JNIEnv *env, jobject obj)
            {
                  return env-&gt;NewStringUTF(“Hello from C++ over JNI!”);
            }
      }
  </code></pre>
  
  <p><strong>please help me in fixing the errors already searching the net from past 72 hrs</strong> 
  <strong>thanks in advances</strong> </p>
  
  <p>now getting the following error after changing <em>"C"</em> to "C"</p>
  
  <pre><code>Compile++ thumb  : hello-jni &lt;= hello-jni.cpp
  jni/hello-jni.cpp:9:17: error: stray '\342' in program
  jni/hello-jni.cpp:9:17: error: stray '\200' in program
  jni/hello-jni.cpp:9:17: error: stray '\234' in program
  jni/hello-jni.cpp:9:17: error: stray '\342' in program
  jni/hello-jni.cpp:9:17: error: stray '\200' in program
  jni/hello-jni.cpp:9:17: error: stray '\235' in program
  jni/hello-jni.cpp: In function '_jstring* Java_com_example_Hellojnicpp_stringFromJNI(JNIEnv*, jobject)':
  jni/hello-jni.cpp:9:45: error: 'Hello' was not declared in this scope
  make: *** [obj/local/armeabi/objs/hello-jni/hello-jni.o] Error 1
  </code></pre>