chat-sdk-android icon indicating copy to clipboard operation
chat-sdk-android copied to clipboard

Clicking on Profile option in the drawer crashing the app

Open adkaushik opened this issue 5 years ago • 0 comments

  1. Is the bug present in the demo Chat SDK project? - NO

  2. What modifications have you made to the Chat SDK? No modifications made. using quickstart

  3. Android Version: 9

  4. Steps taken to reproduce the problem: Integrate sdk click on profile in the drawer

  5. Expected result: open profile activity as in the sdk demo app

  6. Actual result: crashing the app with following error

Caused by: java.lang.UnsupportedOperationException: Failed to resolve attribute at index 13: TypedValue{t=0x2/d=0x7f040290 a=-1} at android.content.res.TypedArray.getDrawableForDensity(TypedArray.java:946) at android.content.res.TypedArray.getDrawable(TypedArray.java:930) at android.view.View.<init>(View.java:5023) at android.view.ViewGroup.<init>(ViewGroup.java:659) at android.widget.LinearLayout.<init>(LinearLayout.java:244) at android.widget.LinearLayout.<init>(LinearLayout.java:240) at com.google.android.material.appbar.AppBarLayout.<init>(AppBarLayout.java:203) at com.google.android.material.appbar.AppBarLayout.<init>(AppBarLayout.java:199)

  1. Comments:

java.lang.RuntimeException: Unable to start activity ComponentInfo{com.myapp/sdk.chat.ui.activities.ProfileActivity}: android.view.InflateException: Binary XML file line #22: Binary XML file line #19: Error inflating class <unknown>

adkaushik avatar Sep 11 '20 09:09 adkaushik