1:打开proj.android文件夹下的build-cfg.json
{
"ndk_module_path" :[
"../cocos2d",
"../cocos2d/cocos",
"../cocos2d/external"
],
"copy_resources": [
{
"from": "../Resources",
"to": "",
"exclude" :[
"\\S*.svn",
"\\S*_svn"
]
}
]
}
2:如上所示,添加了 exclude字段,过滤文件路径包含.svn和_svn的文件
"exclude" :[ "\\S*.svn","\\S*_svn" ]
原文链接:https://www.f2er.com/cocos2dx/339417.html