1.CCEditBox

using  namespace  extension;//这个引进

/Users/admin/Documents/code/cocos2d-2.1beta3-x-2.1.0/extensions//引进此路径


2.jsoncpp出错解决

1.带throw的去掉throw

2.其他屏蔽如JSON_ASSERT_MESSAGE


3.文件路径引对了但Android.mk路径不对,错误不显示那个具体文件只在工程里显示有错


4.#include "curl.h"下载报错

全路径:#include"/Users/admin/Documents/code/cocos2d-2.1beta3-x-2.1.0/cocos2dx/platform/third_party/android/prebuilt/libcurl/include/curl/curl.h"


5.jni c++ .h这样有错

int idArray[TOUCHNUM] = {-1, -1, -1};


6.两个这样的.h文件的内容(都有struct并且名相同)一样了

has a previous declaration as 'typedef struct

conflicting declaration 'typedef int

invalid type in declaration before ';' token

previous definition of 'struct

redefinition of 'struct Answer'


7.CCTextFieldTTF android上横屏和竖屏出现不同的显示