chat-sdk-android
chat-sdk-android copied to clipboard
Clicking on Profile option in the drawer crashing the app
-
Is the bug present in the demo Chat SDK project? - NO
-
What modifications have you made to the Chat SDK? No modifications made. using quickstart
-
Android Version: 9
-
Steps taken to reproduce the problem: Integrate sdk click on profile in the drawer
-
Expected result: open profile activity as in the sdk demo app
-
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)
- 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>