android studio中clean工程和rebuild工程的区别 [英] Difference between clean project and rebuild project in android studio

查看:68
本文介绍了android studio中clean工程和rebuild工程的区别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Clean ProjectRebuild Project(在 Android Studio 中)有什么区别?

What is the difference between Clean Project and Rebuild Project (in Android Studio)?

  • 关于res idsR 文件 有问题,所以我将文件扩展名从gif 更改为> 到 png 然后 [我的构建失败.]
  • 我发现解决方案是重建项目.这提示了我上面的问题.
  • I had a problem with the R file about res ids, so I changed the file extension from gif to png and then [my build failed.]
  • I found the solution was to Rebuild Project. This prompts my question above.

推荐答案

清理只是删除所有构建工件.重建会先清理,然后再构建您的项目.

A clean just removes all build artifacts. A rebuild does a clean followed by a build of your project.

EDIT #2 这是 100% 正确的.请参阅以全面证明其正确性.

这篇关于android studio中clean工程和rebuild工程的区别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆