MessageView not inflating in MessageActivity? | Community
Skip to main content

MessageView not inflating in MessageActivity?

  • March 30, 2022
  • 6 replies
  • 0 views

Deepanshu

Here is the stack trace:

Fatal Exception: java.lang.RuntimeException
Unable to start activity ComponentInfo{com.hubhopper/zendesk.messaging.MessagingActivity}: android.view.InflateException: Binary XML file line #2 in com.hubhopper:layout/zui_activity_messaging: Binary XML file line #2 in com.hubhopper:layout/zui_activity_messaging: Error inflating class zendesk.messaging.ui.MessagingView
 
Caused by android.view.InflateException
Binary XML file line #2 in com.hubhopper:layout/zui_activity_messaging: Binary XML file line #2 in com.hubhopper:layout/zui_activity_messaging: Error inflating class zendesk.messaging.ui.MessagingView
 
Caused by android.view.InflateException
Binary XML file line #2 in com.hubhopper:layout/zui_activity_messaging: Error inflating class zendesk.messaging.ui.MessagingView
 
Caused by java.lang.reflect.InvocationTargetException
 
Caused by android.view.InflateException
Binary XML file line #13 in com.hubhopper:layout/zui_view_messaging: Failed to resolve attribute at index 4: TypedValue{t=0x2/d=0x7f04000f a=-1}
 
Caused by java.lang.UnsupportedOperationException
Failed to resolve attribute at index 4: TypedValue{t=0x2/d=0x7f04000f a=-1}

 

 

6 replies

Eric27
  • April 13, 2022
Hey Deepanshu,

What version of the SDK are you running? 

Thanks!

  • August 11, 2022

I am getting the same problem, did you find any solution?

 


Eric27
  • August 11, 2022
Hey Abdullah,

Can you let us know what version of the SDK you're using? 

  • August 15, 2022

Thanks, Eric. I solved this by adding styles to the project.


Himadri
  • July 12, 2023

Hello 

I am getting the same problem. What style you have applied to solve it ?


Harvey12
  • July 25, 2023