Warning: Multiple build commands for output file

来源:互联网 发布:淘宝免费打单软件 编辑:程序博客网 时间:2024/04/28 23:10
今天编译项目;得到一个编译警告:

Warning: Multiple build commands for output /.../...


出现这种 Warning 的原因

由于将原来资源文件包删除,重新加入后,导致编译器在编译时,又一次引入了该资源!也就是说,编译的外部资源引入重复!


解决方法:


Warning: <wbr>Multiple <wbr>build <wbr>commands <wbr>for <wbr>output <wbr>file

 


如何避免种情况的发生


1.删除项目文件,要从工程中删除。

2.切记,同一个资源不可重复引用到工程中。

3.添加资源,要从工程中添加。

4.最好,再删除资源后,先Clean 一下项目。

0 0
原创粉丝点击