【已解决】搭建Android Cocos2d-x3.2出错

搭建Android Cocos2d-x3.2出错,这是什么原因呢

Compile++ thumb: cocos2dx_static <= CCMesh.cpp
Compile++ thumb: cocos2dx_static <= CCMeshSkin.cpp
jni/…/…/cocos2d/cocos/./3d/CCBundleReader.cpp:94:23: error: return type of
out-of-line definition of ‘cocos2d::BundleReader::tell’ differs from that
in the declaration
ssize_t BundleReader::tell()
^
jni/…/…/cocos2d/cocos/./3d/CCBundleReader.h:90:14: note: previous declaration
is here
long int tell();
^
1 error generated.
make.exe: ***
Error 1
make.exe: *** Waiting for unfinished jobs…
make.exe: Leaving directory `D:/WorkSpace/cocos2dx/cocos2d-x-3.2/tools/cocos2d-c
onsole/projects/test/proj.android’
Traceback (most recent call last):
File “build_native.py”, line 159, in
build(opts.ndk_build_param,opts.android_platform,opts.build_mode)
File “build_native.py”, line 146, in build
do_build(cocos_root, ndk_root, app_android_root,ndk_build_param,sdk_root,and
roid_platform,build_mode)
File “build_native.py”, line 82, in do_build
raise Exception(“Build dynamic library for project " + app_android_root +
" ] fails!”)
Exception: Build dynamic library for project D:\WorkSpace\cocos2dx\cocos2d-x-3
.2\tools\cocos2d-console\projects\test\proj.android ] fails!

D:\WorkSpace\cocos2dx\cocos2d-x-3.2\tools\cocos2d-console\projects\test\proj.and
roid>

知道了
详细:http://cn.cocos2d-x.org/tutorial/show?id=1187
NDK r9d下载地址:
http://dl.google.com/android/ndk/android-ndk-r9d-windows-x86.zip
http://dl.google.com/android/ndk/android-ndk-r9d-windows-x86_64.zip
http://dl.google.com/android/ndk/android-ndk-r9d-darwin-x86.tar.bz2
http://dl.google.com/android/ndk/android-ndk-r9d-linux-x86.tar.bz2
http://dl.google.com/android/ndk/android-ndk-r9d-linux-x86_64.tar.bz2
http://dl.google.com/android/ndk/android-ndk-r9d-cxx-stl-libs-with-debug-info.zip