debug可以打包release不行,这个报错没有头绪,有没有大佬提供一下思路帮助
Must remake target `D:/Client/frameworks/runtime-src/proj.android/app/build/intermediates/ndkBuild/release/obj/local/armeabi-v7a/libmmyx_yl.so'.
[armeabi-v7a] SharedLibrary : libmmyx_yl.so
D:/Client/frameworks/runtime-src/proj.android/app/jni/../../../Classes/LuaAssert/ry_MD5.cpp:356: error: undefined reference to 'std::__ndk1::basic_ostream<char, std::__ndk1::char_traits<char> >& std::__ndk1:perator<< <char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> >(std::__ndk1::basic_ostream<char, std::__ndk1::char_traits<char> >&, std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> > const&)'
clang++.exe: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [D:/Client/frameworks/runtime-src/proj.android/app/build/intermediates/ndkBuild/release/obj/local/armeabi-v7a/libmmyx_yl.so] Error 1
* Try:
Run with --stacktrace option to get the stack trace. Run with --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 22s
44 actionable tasks: 1 executed, 43 up-to-date
VCS Checkout Cache (D:\Client\frameworks\runtime-src\proj.android\.gradle\vcsWorkingDirs) has not been cleaned up in 0 days
执行命令出错,返回值:1。
*********************cocos compile fail*********************
请按任意键继续. . .
|