本方法只在cocos2d-x 2.2.x上测试通过。 首先装好 ADT-Bundle和 NDK ADT-Bundle已经包含Eclipse和Android SDK。 1.打开eclipse 新建->other->Android:Android Project from Existing Code