Cocos Creator Android 工程报错 No ru

2018-09-27  本文已影响0人  Nimanggi

Build command failed.

Error while executing process ... with arguments

*** No rule to make target /Users/Era/Workspace/AgeOfSteam/AgeOfSteam_Client/build/jsb-default/frameworks/runtime-src/proj.android-studio/app/jni/../../../Classes/anysdk/SDKManager.cpp', needed by/Users/Era/Workspace/AgeOfSteam/AgeOfSteam_Client/build/jsb-default/frameworks/runtime-src/proj.android-studio/app/build/intermediates/ndkBuild/debug/obj/local/x86/objs-debug/cocos2djs_shared///__/Classes/anysdk/SDKManager.o'. Stop.

根据 SDKManager.o 去android工程的 jni 目录下的make文件,比如Android.mk,
一般情况是mk文件中引用了不存在的文件SDKManager.cpp,类似这样的问题都如此原因。

上一篇下一篇

猜你喜欢

热点阅读