如何让 Android R.file 更快地自动更新?

发布于 2024-12-27 23:43:56 字数 90 浏览 9 评论 0原文

有时 R.file 会立即为我更新,有时当我在 xml 文件中添加 @+id 时需要很长时间才能更新,有没有办法加快此自动过程,特别是在需要 15-20 分钟的情况下

Sometimes the R.file updates immediately for me, other times it takes a long time to update when I add @+id in my xml files, is there a way to speed this automatic process up especially for times when it takes 15-20min

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

夕嗳→ 2025-01-03 23:43:56

我们需要更多细节。

我假设您指的是您的 IDE 刷新速度不够快。

你使用什么IDE?例如,如果您使用 eclipse,则可以选择 Project->Clean 并对项目进行干净构建。这将再次生成 R 文件。

We need more details.

I'm assuming you are referring to your IDE not refreshing quickly enough.

What IDE are you using? If you are using eclipse for instance, you can select Project->Clean and do a clean build of your project. That will generate the R file again.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文