title: Android NDK build, Method could not be resolved
body: <p>I have an Android project with native code. I'm able to build native code from command line by calling <code>ndk-build</code> command with no errors or warnings. But when I open it in ADT it shows the following error.</p>
  
  <p><img src="https://i.stack.imgur.com/hyP7y.png" alt="enter image description here"></p>
  
  <p>Error message: <code>Method CallStaticIntMethod could not be resolved.</code> There are many files with similar errors in the project.</p>
  
  <p>I double checked configuration and here is what I have. Android build, tool chain and includes are properly configured (see pictures below)</p>
  
  <p><img src="https://i.stack.imgur.com/UxHJc.png" alt="enter image description here"></p>
  
  <p><img src="https://i.stack.imgur.com/rY7PZ.png" alt="enter image description here"></p>
  
  <p><img src="https://i.stack.imgur.com/ds6Z9.png" alt="enter image description here"></p>
  
  <p>Required includes are also visible in the Project Explorer and they are valid (not empty and point to correct header files).</p>
  
  <p><img src="https://i.stack.imgur.com/HnWre.png" alt="enter image description here"></p>
  
  <p>But when I <code>Clean</code> the project and <code>Build</code> it, the errors are still there. Any ideas on how to solve this?</p>
  
  <p>Configuration: ADT 22.6.2, NDK r9d (64-bit), OSX 10.9.2</p>