-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Error inflating class com.facebook.drawee.view.SimpleDraweeView #74
Comments
Is there anything else in the error message? That should probably be |
@IanChilds, This hasn't relation with the problem. If I remove this line, the problem still happens. |
<com.facebook.drawee.view.SimpleDraweeView
android:layout_gravity="center"
android:layout_height="100dp"
android:layout_width="100dp"
android:background="@color/white"
android:id="@+id/cover"/>
I hava the same trouble~ Solve MethodYou should only call
|
@ppamorim I have solve this problem. |
Thanks for your response andforce |
it's right |
This is so tricky. The error message seems totally irrelevant with the solution. |
I have placed the Fresco.initialize(this); in my application, but still error is there... @OverRide
Above is the code... Please Please Please Help me Friends... |
In case you want to implement using a fragment as would be? I have the same problem as everyone else. Best Regards! |
Is this the same stack trace as issue #395? |
you guys sure you registered the application in the manifest? its a small step,but your context wont be valid when you try to init Fresco without |
I have the same problem too~how can i solve it? |
ok,I solved it.
above
and ,it works now. |
thanks it worked |
@ManMegh @vivian8725118 You should only call Fresco.initialize once. Your Application class would be a good place. Doing it in each Activity is wrong. |
Thanks bro worked perfectly though not using fresco am using picasso. On Fri, Oct 9, 2015 at 7:32 AM, andforce notifications@github.com wrote:
|
ssup bro, I would like more of your tutorials how can i get them. On Sat, Oct 10, 2015 at 11:07 AM, christopher pius ndugo <
|
In my case writing |
My problem was not specifing the whole path |
I have the same problem and none of the solutions above is working for me. |
@iDaniel19 paste in your XML |
|
I found the problem . I had FacebookSdk.sdkInitialize(this); instead of Fresco.initialize(this);. |
@iDaniel19 Glad you solved it. Cheers! |
3Q |
use following version, and you can initialize fresco in Application class compile 'com.facebook.fresco:fresco:0.12.0' |
facing same issue after updating 1.3.0. Initialised inside the application class, Error FATAL EXCEPTION: main |
solved thank you vivian8725118 |
thank you brother , i got the output |
Hi.
I've tried to inflate this guy on adapter, but don't work!
I'm using the last version.
android.view.InflateException: Binary XML file line #7: Error inflating class com.facebook.drawee.view.SimpleDraweeView...
The text was updated successfully, but these errors were encountered: