MessageView not inflating in MessageActivity?



Posted Mar 30, 2022

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}

 

 


0

6

6 comments

      Hello 

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

      0


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

      1


      Hey Abdullah,

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

      0


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

       

      0


      Hey Deepanshu,

      What version of the SDK are you running? 

      Thanks!

      0


      Sign in to leave a comment.

      Didn't find what you're looking for?

      New post