title: Cocos2D-X for android, Symbol 'cocos2d' could not be resolved
body: <p>I start with Cocos2D-X for android following <a href="http://www.raywenderlich.com/11283/cocos2d-x-for-ios-and-android-getting-started">http://www.raywenderlich.com/11283/cocos2d-x-for-ios-and-android-getting-started</a>.</p>
  
  <p>I run the demo in xcode and android with no problem, until I go to the <strong>'
  Defining a Combined Java/C++ Project in Eclipse'</strong> part.</p>
  
  <p>After I do all in this, I get the error <code>Symbol 'cocos2d' could not be resolved</code> for <code>using namespace cocos2d;</code> in <code>jni/hellocpp/main.cpp</code> and many other similar errors. And I find <code>#include "cocos2d.h"</code> missing in this file, so I add this line, but the error still exists. </p>
  
  <p>I don't why, but I think it must be some libraries not be imported.</p>
  
  <p>In my android project, there is a <code>includes</code> dir including NDK and $(COCOS2DX_HOME)/cocos2dx/include, but in $(COCOS2DX_HOME)/cocos2dx/include there are only 7 .h files(include cocos2d.h). I don't know if this is correct.</p>
  
  <p>Does anybody can help me, thanks.</p>