Skip to content
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

android.view.InflateException: Binary XML file line #12: Error inflating class com.looklook.xinghongfei.looklook.widget.BadgedFourThreeImageView #35

Open
meijieman opened this issue Oct 26, 2016 · 5 comments

Comments

@meijieman
Copy link

huawei p6 api19 启动就报错

错误信息
android.view.InflateException: Binary XML file line #12: Error inflating class com.looklook.xinghongfei.looklook.widget.BadgedFourThreeImageView
at android.view.LayoutInflater.createView(LayoutInflater.java:640)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:716)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:775)
at android.view.LayoutInflater.inflate(LayoutInflater.java:512)
at android.view.LayoutInflater.inflate(LayoutInflater.java:409)
at com.looklook.xinghongfei.looklook.adapter.ZhihuAdapter.onCreateViewHolder(ZhihuAdapter.java:65)
at android.support.v7.widget.RecyclerView$Adapter.createViewHolder(RecyclerView.java:5779)

@xinghongfei
Copy link
Owner

之前这个bug应该是修复了,是什么时候clone的代码?

@meijieman
Copy link
Author

meijieman commented Oct 26, 2016

就刚才,使用 mate8 就ok api23
华为虚拟键盘没有做适配

@wanghong123qq
Copy link

The inflate exception is not actually the problem, but really comes from another deeper issue in your layout that is then wrapped in an InflateException. A common issue is an out of memory exception when trying to inflate an imageview loading a drawable resource. If one of this resources has a high pixel resolution it would take a lot of memory causing then an inflate exception.
你好请问一下vivo xplay3s出现这个问题怎么解决

@liuwenjun1361678
Copy link

@xinghongfei 这个问题感觉没解决到呢

@liuwenjun1361678
Copy link

@xinghongfei api是不是有要求?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants