Hi there, I’m having real problems with SDKBox on 3.17 trying to get the app building for release. From a clean project, I’ve installed IAP and Review and have managed to get it building for release (despite coming across problems with Review).
However, when I install Share, I’m getting the following build error… (Note: I’ve also tried installing from fresh from the staging server. 2.4.0.2)
[armeabi-v7a] SharedLibrary : libcocos2djs.so
/Users/Dev/Documents/CocosProjects/test/frameworks/runtime-src/proj.android/app/jni/./pluginshare/libs_c++_static/armeabi-v7a/libPluginShare.a(ShareBaseConnectorProxy.o):function std::__ndk1::basic_stringstream<char, std::__ndk1::char_traits, std::__ndk1::allocator >::~basic_stringstream(): warning: relocation refers to discarded section
/Users/Dev/Library/Cocos/CocosStore/sdk/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/…/…/…/…/arm-linux-androideabi/bin/ld: error: treating warnings as errors
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [/Users/Dev/Documents/CocosProjects/test/frameworks/runtime-src/proj.android/app/build/intermediates/ndkBuild/release/obj/local/armeabi-v7a/libcocos2djs.so] Error 1
:test:externalNativeBuildRelease FAILED
FAILURE: Build failed with an exception.
- What went wrong:
Execution failed for task ‘:test:externalNativeBuildRelease’.
Build command failed.
Error while executing process /Users/Dev/Library/Cocos/CocosStore/sdk/ndk-bundle/ndk-build with arguments {NDK_PROJECT_PATH=null APP_BUILD_SCRIPT=/Users/Dev/Documents/CocosProjects/test/frameworks/runtime-src/proj.android/app/jni/Android.mk NDK_APPLICATION_MK=/Users/Dev/Documents/CocosProjects/test/frameworks/runtime-src/proj.android/app/jni/Application.mk APP_ABI=armeabi-v7a NDK_ALL_ABIS=armeabi-v7a NDK_DEBUG=0 APP_PLATFORM=android-14 NDK_OUT=/Users/Dev/Documents/CocosProjects/test/frameworks/runtime-src/proj.android/app/build/intermediates/ndkBuild/release/obj NDK_LIBS_OUT=/Users/Dev/Documents/CocosProjects/test/frameworks/runtime-src/proj.android/app/build/intermediates/ndkBuild/release/lib NDK_TOOLCHAIN_VERSION=clang -j4 NDK_DEBUG=0 /Users/Dev/Documents/CocosProjects/test/frameworks/runtime-src/proj.android/app/build/intermediates/ndkBuild/release/obj/local/armeabi-v7a/libcocos2djs.so}
[armeabi-v7a] SharedLibrary : libcocos2djs.so
/Users/Dev/Documents/CocosProjects/test/frameworks/runtime-src/proj.android/app/jni/./pluginshare/libs_c++_static/armeabi-v7a/libPluginShare.a(ShareBaseConnectorProxy.o):function std::__ndk1::basic_stringstream<char, std::__ndk1::char_traits, std::__ndk1::allocator >::~basic_stringstream(): warning: relocation refers to discarded section
/Users/Dev/Library/Cocos/CocosStore/sdk/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/…/…/…/…/arm-linux-androideabi/bin/ld: error: treating warnings as errors
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [/Users/Dev/Documents/CocosProjects/test/frameworks/runtime-src/proj.android/app/build/intermediates/ndkBuild/release/obj/local/armeabi-v7a/libcocos2djs.so] Error 1
Any ideas?