cocos 2dx 换机器编译的时候出现No rule to make target 问题

No rule to make target `/Users/meichen/Documents/KittyPublish/jumpgoox/proj.android/../cocos2d/external/TalkingDataGameAnalytics/android/TDCCTalkingDataGA.cpp', needed by `obj/local/armeabi/objs/cocos2dx-talkingdata/TDCCTalkingDataGA.o'.  Stop.


最后发现是编译零时文件未清理导致的,.d 文件路径还是指向原来机器的路径,所以该文件找不到。


解决办法,删除 obj/local/armeabi/文件夹,重新编译

你可能感兴趣的:(android,cocos2dx)