hi ,i'm beginner too but i have this problem as i remenber u should fix ur path as it's shown to do it u have to download ndk :http://developer.android.com/tools/sdk/ndk/index.html
(a) Right-click on the project and select Properties.
(b)open c/c++ build ->enviroment->ADD->name :SA and the value:the path where u put the ndk installed
(c)Select C/C++ Build, choose Builder Settings tab, then change Build command: to
\${SA}/android-ndk-r8/ndk-build.cmd
PS:.cmd if u have windows and without if u have unix OS
(d) Select C/C++General >Paths and Symbol on the left panel ,then select include tab, chooseGNUC++language,removeexistingincludedirectoriesandaddthefollowings:
${SA}/android-ndk-r8/platforms/android-9/arch-arm/usr/include
${SA}/android-ndk-r8/sources/cxx-stl/stlport/stlport
${SA}/OpenCV-2.4.2-android-sdk/sdk/native/jni/include
(e)Right-click on the project ,then select Clean Project.
i hope that it could help u