因为ndk路径错误的android打包报错

因为ndk路径错误的android打包报错

因为ndk路径错误的android打包报错

执行:编译cocos2d里的android项目

报错:[taskdef] could not load definitions from resource anttasks. properties. It could not be found 

原因:/F:/bundle/android-ndk/android-ndk-r10d  ndk路径前面多了一个斜杠  “/”

知识点:window的路径前面没有“/”    linux和mac的才是"/" 做根路径的 

未解决问题:有些电脑有“/”也可以编译,有些却不不行。