原来3.2的工程升级3.3打包apk失败,请版主看看是啥原因

Updated project.properties
Updated local.properties
Updated file C:\Users\Administrator\Documents\cocos\CocosSanxiao\frameworks\runtime-src\proj.android\proguard-project.txt
It seems that there are sub-projects. If you want to update them
please use the --subprojects parameter.
Updated project.properties
Updated local.properties
Updated file C:\Users\Administrator\Documents\cocos\CocosSanxiao\frameworks\runtime-src\proj.android…\js-bindings\cocos2d-x\cocos\platform\android\java\proguard-project.txt
Android NDK: WARNING: APP_PLATFORM android-18 is larger than android:minSdkVersion 9 in ./AndroidManifest.xml
make.exe: Entering directory C:/Users/Administrator/Documents/cocos/CocosSanxiao/frameworks/runtime-src/proj.android' StaticLibrary : libcocos2dxjsb.a StaticLibrary : libcocos2d.a StaticLibrary : liblocalstorage.a StaticLibrary : libcocostudio.a StaticLibrary : libcocosbuilder.a StaticLibrary : libcocos3d.a StaticLibrary : libspine.a StaticLibrary : libnetwork.a StaticLibrary : libaudioengine.a StaticLibrary : libui.a StaticLibrary : libcocosdenshion.a StaticLibrary : flatbuffers.a StaticLibrary : libextension.a StaticLibrary : libcocos2dxinternal.a StaticLibrary : libbox2d.a StaticLibrary : libcocos2dandroid.a StaticLibrary : libcpufeatures.a SharedLibrary : libcocos2djs.so D:/android-ndk32-r10-windows-x86/android-ndk-r10/sources/cxx-stl/gnu-libstdc++/4.8/libs/armeabi/thumb/libgnustl_static.a(wstring-inst.o):wstring-inst.cc:function std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_Rep::_M_dispose(std::allocator<wchar_t> const&) : error: relocation overflow in R_ARM_THM_CALL D:/android-ndk32-r10-windows-x86/android-ndk-r10/sources/cxx-stl/gnu-libstdc++/4.8/libs/armeabi/thumb/libgnustl_static.a(string-inst.o):string-inst.cc:function std::string::_Rep::_M_dispose(std::allocator<char> const&) : error: relocation overflow in R_ARM_THM_CALL collect2.exe: error: ld returned 1 exit status make.exe: Leaving directory C:/Users/Administrator/Documents/cocos/CocosSanxiao/frameworks/runtime-src/proj.android’
make.exe: *** Error 1
Running command: compile
Building mode: debug
running: ‘“D:\android\adt-bundle-windows-x86-20130917.467161976\adt-bundle-windows-x86-20130917\sdk\tools\android” update project -t android-18 -p C:\Users\Administrator\Documents\cocos\CocosSanxiao\frameworks\runtime-src\proj.android’

running: ‘“D:\android\adt-bundle-windows-x86-20130917.467161976\adt-bundle-windows-x86-20130917\sdk\tools\android” update lib-project -p C:\Users\Administrator\Documents\cocos\CocosSanxiao\frameworks\runtime-src\proj.android…/…/js-bindings/cocos2d-x/cocos/platform/android/java -t android-18’

building native
NDK build mode: release
NDK_TOOLCHAIN_VERSION: 4.8
running: ‘“D:\android-ndk32-r10-windows-x86\android-ndk-r10\ndk-build” -C C:\Users\Administrator\Documents\cocos\CocosSanxiao\frameworks\runtime-src\proj.android -j3 NDK_MODULE_PATH=C:\Users\Administrator\Documents\cocos\CocosSanxiao\frameworks\runtime-src\proj.android…/…/js-bindings;C:\Users\Administrator\Documents\cocos\CocosSanxiao\frameworks\runtime-src\proj.android…/…/js-bindings/cocos2d-x;C:\Users\Administrator\Documents\cocos\CocosSanxiao\frameworks\runtime-src\proj.android…/…/js-bindings/cocos2d-x/cocos;C:\Users\Administrator\Documents\cocos\CocosSanxiao\frameworks\runtime-src\proj.android…/…/js-bindings/cocos2d-x/external NDK_TOOLCHAIN_VERSION=4.8’

Ndk build failed!

你ndk是r10c或者r9d么?

怎么看是不是r10C ,我只能看到R10

Change List

Android NDK, Revision 10 (July 2014)

ndk目录下有一个release.txt

release.txt 里面只写了r10

我的ndk时10C的,但是还是打包失败,请版主帮忙啊!

http://www.cocoachina.com/bbs/read.php?tid-286596.html
这里说是JAVA_HOME没有配置的原因导致的。你们试试看。