-
Creator 版本:1.4.0
-
目标平台: android
-
详细报错信息,包含调用堆栈:Building mode: debug
Using Android Studio project : /Users/zhx/Desktop/WujunProject/Game/test-haerbin-dx/build/jsb-default/frameworks/runtime-src/proj.android-studio
running: ‘/Users/zhx/Desktop/WujunProject/Game/Android/sdk/tools/android update project -t android-10 -p /Users/zhx/Desktop/WujunProject/Game/test-haerbin-dx/build/jsb-default/frameworks/runtime-src/proj.android-studio/app’
Updated project.properties
Updated local.properties
Updated file /Users/zhx/Desktop/WujunProject/Game/test-haerbin-dx/build/jsb-default/frameworks/runtime-src/proj.android-studio/app/proguard-project.txt
Building native…
NDK build mode: debug
NDK_TOOLCHAIN_VERSION: 4.9
running: ‘/Users/zhx/Desktop/WujunProject/Game/Android/android-ndk-r10e/ndk-build -C /Users/zhx/Desktop/WujunProject/Game/test-haerbin-dx/build/jsb-default/frameworks/runtime-src/proj.android-studio/app -j4 NDK_MODULE_PATH=/Users/zhx/Desktop/WujunProject/Game/test-haerbin-dx/build/jsb-default/frameworks/cocos2d-x:/Users/zhx/Desktop/WujunProject/Game/test-haerbin-dx/build/jsb-default/frameworks/cocos2d-x/cocos:/Users/zhx/Desktop/WujunProject/Game/test-haerbin-dx/build/jsb-default/frameworks/cocos2d-x/external NDK_TOOLCHAIN_VERSION=4.9 NDK_DEBUG=1’
make: Entering directory /Users/zhx/Desktop/WujunProject/Game/test-haerbin-dx/build/jsb-default/frameworks/runtime-src/proj.android-studio/app' [armeabi-v7a] StaticLibrary : libcocos2d.a [armeabi-v7a] Compile++ thumb: audioengine_static <= mp3reader.cpp [armeabi-v7a] Gdbserver : [arm-linux-androideabi-4.9] libs/armeabi-v7a/gdbserver [armeabi-v7a] Gdbsetup : libs/armeabi-v7a/gdb.setup [armeabi-v7a] Compile++ arm : cocos2djs_shared <= main.cpp [armeabi-v7a] Compile++ arm : cocos2djs_shared <= AppDelegate.cpp [armeabi-v7a] Compile++ arm : cocos2djs_shared <= SDKManager.cpp arm-linux-androideabi-g++: internal compiler error: Killed: 9 (program cc1plus) arm-linux-androideabi-g++: internal compiler error: Killed: 9 (program cc1plus) libbacktrace could not find executable to open Please submit a full bug report, with preprocessed source if appropriate. See <http://source.android.com/source/report-bugs.html> for instructions. arm-linux-androideabi-g++: internal compiler error: Killed: 9 (program cc1plus) libbacktrace could not find executable to open Please submit a full bug report, with preprocessed source if appropriate. See <http://source.android.com/source/report-bugs.html> for instructions. libbacktrace could not find executable to open Please submit a full bug report, with preprocessed source if appropriate. See <http://source.android.com/source/report-bugs.html> for instructions. arm-linux-androideabi-g++: internal compiler error: Killed: 9 (program cc1plus) make: libbacktrace could not find executable to open *** [obj/local/armeabi-v7a/objs-debug/cocos2djs_shared/__/__/__/Classes/SDKManager.o] Error 4 Please submit a full bug report, with preprocessed source if appropriate. See <http://source.android.com/source/report-bugs.html> for instructions. make: *** Waiting for unfinished jobs.... make: *** [obj/local/armeabi-v7a/objs-debug/cocos2djs_shared/__/__/__/Classes/AppDelegate.o] Error 4 make: *** [obj/local/armeabi-v7a/objs-debug/cocos2djs_shared/hellojavascript/main.o] Error 4 make: *** [obj/local/armeabi-v7a/objs-debug/audioengine_static/mp3reader.o] Error 4 make: Leaving directory /Users/zhx/Desktop/WujunProject/Game/test-haerbin-dx/build/jsb-default/frameworks/runtime-src/proj.android-studio/app’
Error running command, return code: 2.
-
重现方式:creator编译就出现error
-
之前哪个版本是正常的 :1.4.0
-
手机型号 :
-
手机浏览器 :
-
编辑器操作系统 :
-
编辑器之前是否有其它报错 :
-
出现概率:100%
-
额外线索:
我升级了我的Mac系统至10.15.1 (19B88),然后编译之前的项目就不能成功了,升级系统之前是可以的.
请问是什么原因?
是内存不足(内存8G),还是我的ndk需要升级,我的ndk是r10e
还会有这种无法验证,这以前都没有的,有点搞不懂是Mac系统升级什么玩意?