如何让 Android R.file 更快地自动更新?
有时 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我们需要更多细节。
我假设您指的是您的 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.