Finally, I find the answer. It’s simple, but maybe hard to find it.
The answer is in file “build_native.sh”, there is a path variable named “COCOS2DX_ROOT”.
Actually, it’s not the “COCOS2DX_ROOT” indeed.
If you set this variable like before “../libs/cocos2dx”, and it will be fail.
You need to set this variable like
and do some modifications on Android.mk and Application.mk then your hybrid project is just fine.
I have no time to write the very detail process, but if you have the questions, you may ask here, and I will do my best to answer you.