Android studio 重构失败(只读) [英] Android studio refactoring fail (read-only)

查看:38
本文介绍了Android studio 重构失败(只读)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我无法重构(重命名)布局中的任何内容,我已经尝试重建和清理项目以及我找到的许多解决方案,但都没有奏效.我可以直接在文件系统中完成,也可以在 Studio 中手动完成(所以我还必须找到并更改使用它的每一行,但这是一个缓慢而危险的过程)AS 3.0 测试版 3,Debian 9https://i.stack.imgur.com/v3Fq2.png

I cannot refactor (rename) anything in my layouts, I already tried rebuilding and cleaning the project and many solutions i found, but none worked. I can do it directly in file system, or manually in Studio (so I also have to find and change every line where it is used but it is slow and dangerous process) AS 3.0 beta 3, Debian 9 https://i.stack.imgur.com/v3Fq2.png

推荐答案

由于他们在发布后发现的错误,Beta 3 被召回".检查此以供参考.您应该恢复到 Android Studio 3 beta 2,它可能会解决问题.Beta 2 可以从 Android Studio 网站下载.该错误本身似乎对 Beta 3 和 4 都有影响.对此没什么可做的,而恢复到 Beta 2 似乎仍然是目前最好的选择.Beta 5 可能会修复它,但无法知道.

Beta 3 was "recalled" due to a bug they found after the release. Check this for reference. You should revert to Android Studio 3 beta 2 and it may fix the problem. Beta 2 can be downloaded from the Android Studio website. The bug itself appears to be affecting both Beta 3 and 4. There isn't much to do about it, and reverting to beta 2 still looks like the best option as of now. Beta 5 may fix it, but there is no way of knowing.

根据问题跟踪器,此错误已在测试版 5 中得到修复.

The bug has since been fixed in beta 5, according to the issue tracker.

这篇关于Android studio 重构失败(只读)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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