-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
提示未找到选中的布局文件,但是实际是有的 #12
Comments
感谢提醒 |
所以想请教一下查找布局文件是如何查找的,我同样的gradle版本以及插件配置,一个项目里可以正常使用butterknife以及GenerateFindViewById,另一个项目中却不能使用。。android studio 3.0以及3.0.1版本都是这样 |
布局文件是查找整个项目里面的,如果一个项目有多个模块,会判断是不是同个模块下的 |
是同个模块下的,可能是as bug吧,之前都使用好好的,前几天升级了一下,发现不能用了。谢谢了! |
我的也提示找不到文件 |
具体是什么情况 |
@wangzailfm 和 @zxq9133 贴的图一样,都是报找不到选中的布局文件 |
@meijingkang as版本也是3.0的吗,我周末找时间调调 |
@wangzailfm @meijingkang 应该是as3.0的bug,我重新修改一下布局文件名再改回来就可以了,但是只对于rename过的布局文件才有用。我安装了最新的as 3.1canary4版本,发现没有这个bug了,不过as 3.1canary4作为测试版本还不稳定,暂时先用as 3.0修改布局文件名称再改回来的方式处理了。。 |
@zxq9133 非常感想,可以下载试试1.4.2之前的版本https://plugins.jetbrains.com/plugin/9273-generatefindviewbyid |
如图,谢谢
The text was updated successfully, but these errors were encountered: