bogon:proj.android_no_anysdk mac$ ./build_apk.sh -api 20 -nosign
*******************build mode: debug
exec: java -version
java version “1.6.0_65”
Java™ SE Runtime Environment (build 1.6.0_65-b14-466.1-11M4716)
Java HotSpot™ 64-Bit Server VM (build 20.65-b04-466.1, mixed mode)
exec: /Users/mac/Documents/SVN/user/QGame/frameworks/runtime-src/proj.android_no_anysdk/build_native.sh
- config:
ANDROID_NDK_ROOT = /Users/mac/Documents/SVN/Android/android-ndk-r9d
COCOS2DX_ROOT = /Users/mac/Documents/SVN/user/QGame/frameworks/runtime-src/proj.android_no_anysdk/…/…/cocos2d-x
APP_ROOT = /Users/mac/Documents/SVN/user/QGame/frameworks/runtime-src/proj.android_no_anysdk/…/…/…
APP_ANDROID_ROOT = /Users/mac/Documents/SVN/user/QGame/frameworks/runtime-src/proj.android_no_anysdk - cleanup
- copy scripts
- copy resources
- copy config
Using prebuilt externals
Android NDK: WARNING: APP_PLATFORM android-19 is larger than android:minSdkVersion 9 in ./AndroidManifest.xml
make: Entering directory /Users/mac/Documents/SVN/user/QGame/frameworks/runtime-src/proj.android_no_anysdk' Gdbserver : libs/armeabi/gdbserver Gdbsetup : libs/armeabi/gdb.setup SharedLibrary : libcocos2dlua.so /Users/mac/Documents/SVN/Android/android-ndk-r9d/sources/cxx-stl/llvm-libc++/libcxx/include/regex:1115: error: undefined reference to 'std::__1::__get_collation_name(char const*)' /Users/mac/Documents/SVN/Android/android-ndk-r9d/sources/cxx-stl/llvm-libc++/libcxx/include/regex:1175: error: undefined reference to 'std::__1::__get_classname(char const*, bool)' /Users/mac/Documents/SVN/Android/android-ndk-r9d/sources/cxx-stl/llvm-libc++/libcxx/include/regex:1115: error: undefined reference to 'std::__1::__get_collation_name(char const*)' ./obj/local/armeabi/libcocos2dxinternal.a(CCNode.o):/Users/mac/Documents/SVN/user/QGame/frameworks/runtime-src/proj.android_no_anysdk/../../cocos2d-x/cocos/./2d/CCNode.cpp:function vtable for std::__1::__match_any_but_newline<char>: error: undefined reference to 'std::__1::__match_any_but_newline<char>::__exec(std::__1::__state<char>&) const' clang++: error: linker command failed with exit code 1 (use -v to see invocation) make: *** Error 1 make: Leaving directory /Users/mac/Documents/SVN/user/QGame/frameworks/runtime-src/proj.android_no_anysdk’
Error: Build native lib failed!
build return value: 2