Error inflating class com.facebook.drawee.view.SimpleDraweeView
See original GitHub issueHi. I’ve tried to inflate this guy on adapter, but don’t work! I’m using the last version.
<com.facebook.drawee.view.SimpleDraweeView
android:id="@+id/camera_image"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:placeholderImage="@mipmap/ic_launcher"/>
android.view.InflateException: Binary XML file line #7: Error inflating class com.facebook.drawee.view.SimpleDraweeView…
Issue Analytics
- State:
- Created 8 years ago
- Comments:29 (2 by maintainers)
Top Results From Across the Web
android - Error inflating class com.facebook.drawee.view ...
In my case writing Fresco.initialize(this); before setContentView(R.layout.myxml); helped me. Update: you have FacebookSdk.sdkInitialize(this); instead of ...
Read more >Android – Error inflating class com.facebook.drawee.view ...
Android – Error inflating class com.facebook.drawee.view.SimpleDraweeView. androidfacebookfresco. I'm trying to use the fresco library.
Read more >android.view.InflateException: Binary XML file line #40
android.view.InflateException: Binary XML file line #40: Error inflating class com.facebook.drawee.view.SimpleDraweeView.
Read more >OSCHINA - 中文开源技术交流社区
error inflating class com.facebook.drawee.view.simpledraweeview. 加载中. 暂无相关内容. OSCHINA 社区. 关于我们 联系我们 加入我们 合作伙伴 Open API. 在线工具.
Read more >Frscon的报错:Error inflating class com.facebook.drawee ...
报错:android.view.InflateException: Error inflating class com.facebook.drawee.view.SimpleDraweeView原因是没有执行, ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I hava the same trouble~
Solve Method
You should only call
Fresco.initialize
once. Your Application class would be a good place. Doing it in each Activity is wrong.@ppamorim I have solve this problem. add :Fresco.initialize(this); to your Application.