title: Cocos2d-x vs cocos2d-android for an Android game
body: <p>After using 'cocos2d-iphone' in one of my projects, I am trying to decide which flavor of Cocos2d I should use for an Android game. My personal list of pros and cons:</p>
  
  <p><strong>Cocos2d-x</strong></p>
  
  <p><strong><em>pros:</em></strong> it should be easier to bring the game to iOS later, potentially other platforms as well</p>
  
  <p><strong><em>cons/doubts:</em></strong> debugging c++ code on Android (easy or not?), compatibility of NDK app with various Android devices (how much of a problem?), accessing platform-specific functionality (in-app purchases, etc.)</p>
  
  <p><strong>cocos2d-android</strong></p>
  
  <p><strong><em>pros:</em></strong> all Java, easier to setup and access platform-specific functions</p>
  
  <p><strong><em>cons:</em></strong> will have to translate from Java to either c++ or Objective-C for other platforms</p>
  
  <p>Are there other issues with either of the options that I didn't think about? If anybody had to make this choice, what did you choose and why?</p>