title: Cannot debug Android application with native code
body: <p>I'm trying to debug native application in Eclipse. Unfortunately, when I run "Debug As-> Android Native Application" I see the following errors in the console:</p>
  
  <pre><code>[2014-09-10 21:03:48 - GenderDetector] Verify if the application was built with NDK_DEBUG=1
  [2014-09-10 21:04:16 - GenderDetector] gdbserver output:
  [2014-09-10 21:04:16 - GenderDetector] run-as: Package 'com.opencv.genderdetector' is unknown
  </code></pre>
  
  <p>If I try to add "NDK_DEBUT=1" to the ndk-build command I see the following errors:</p>
  
  <pre><code>[armeabi-v7a] Gdbserver      : [arm-linux-androideabi-4.9] libs/armeabi-v7a/gdbserver
  install: cannot stat ‘/home/yury/software/android-ndk/prebuilt/android-arm/gdbserver/gdbserver’: No such file or directory
  make: *** [libs/armeabi-v7a/gdbserver] Error 1
  </code></pre>
  
  <p>Could someone please explain what I'm doing wrong?</p>