Comments (10)
感谢提醒
from generatefindviewbyid.
所以想请教一下查找布局文件是如何查找的,我同样的gradle版本以及插件配置,一个项目里可以正常使用butterknife以及GenerateFindViewById,另一个项目中却不能使用。。android studio 3.0以及3.0.1版本都是这样
from generatefindviewbyid.
布局文件是查找整个项目里面的,如果一个项目有多个模块,会判断是不是同个模块下的
from generatefindviewbyid.
是同个模块下的,可能是as bug吧,之前都使用好好的,前几天升级了一下,发现不能用了。谢谢了!
from generatefindviewbyid.
我的也提示找不到文件
from generatefindviewbyid.
具体是什么情况
from generatefindviewbyid.
@wangzailfm 和 @zxq9133 贴的图一样,都是报找不到选中的布局文件
from generatefindviewbyid.
@meijingkang as版本也是3.0的吗,我周末找时间调调
from generatefindviewbyid.
@wangzailfm @meijingkang 应该是as3.0的bug,我重新修改一下布局文件名再改回来就可以了,但是只对于rename过的布局文件才有用。我安装了最新的as 3.1canary4版本,发现没有这个bug了,不过as 3.1canary4作为测试版本还不稳定,暂时先用as 3.0修改布局文件名称再改回来的方式处理了。。
from generatefindviewbyid.
@zxq9133 非常感想,可以下载试试1.4.2之前的版本https://plugins.jetbrains.com/plugin/9273-generatefindviewbyid
from generatefindviewbyid.
Related Issues (12)
- API作者知道哪里有吗? HOT 1
- 不能创建ViewHolder!!! HOT 2
- imageview and textView 不能点击 onClick HOT 3
- Onclick 为什么会默认全部勾选。。。。。 HOT 4
- 不支持高分屏
- No Hungarian Notation HOT 2
- 希望能够支持kotlin HOT 3
- 想请问一下演示中的GIF图片是如何生成的? HOT 2
- 生成代码时报错了,日志如下 HOT 1
- 关于生成时命名问题 HOT 1
- 在Fragment中无法生成findviewbyId
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from generatefindviewbyid.