make.exe: Entering directory `E:/PaoKuGame/PK0709/proj.android’
[armeabi] StaticLibrary : libcocos2d.a
[armeabi] StaticLibrary : libcocostudio.a
[armeabi] StaticLibrary : libcocosbuilder.a
[armeabi] StaticLibrary : libcocos3d.a
[armeabi] StaticLibrary : libspine.a
[armeabi] StaticLibrary : libui.a
[armeabi] StaticLibrary : libcocosdenshion.a
[armeabi] StaticLibrary : flatbuffers.a
[armeabi] StaticLibrary : libextension.a
[armeabi] StaticLibrary : libaudioengine.a
[armeabi] StaticLibrary : libbox2d.a
[armeabi] StaticLibrary : libnetwork.a
[armeabi] StaticLibrary : libcocos2dxinternal.a
[armeabi] StaticLibrary : librecast.a
[armeabi] StaticLibrary : libbullet.a
[armeabi] StaticLibrary : libcocos2dandroid.a
[armeabi] StaticLibrary : libcpufeatures.a
[armeabi] SharedLibrary : libcocos2dcpp.so
/tmp/ndk-user/tmp/gnu-libstdc++/static-armeabithumb-4.8/include/ext/atomicity.h:
49: error: relocation overflow in R_ARM_THM_CALL
/tmp/ndk-user/tmp/gnu-libstdc++/static-armeabithumb-4.8/include/bits/basic_strin
g.h:249: error: relocation overflow in R_ARM_THM_CALL
/tmp/ndk-user/tmp/gnu-libstdc++/static-armeabithumb-4.8/include/ext/atomicity.h:
49: error: relocation overflow in R_ARM_THM_CALL
/tmp/ndk-user/tmp/gnu-libstdc++/static-armeabithumb-4.8/include/bits/basic_strin
g.h:249: error: relocation overflow in R_ARM_THM_CALL
clang++.exe: error: linker command failed with exit code 1 (use -v to see invoca
tion)
make.exe: *** [obj/local/armeabi/libcocos2dcpp.so] Error 1
我也碰到这个问题,看了下readme,才发现要用NDK11来编译,
r11c的下载地址:http://dl.google.com/android/repository/android-ndk-r11c-windows-x86_64.zip
,推荐用迅雷下,速度杠杠的。NDK最新的是r12b,但是编译不通过。
多谢了!
NDK12的下载地址是什么?
最好给个下载页面,以便以后持续更新啊!
是用什么打包的apk?是用的android studio吗