Skip to content
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

Chat 21 SDK Issues. #43

Closed
LokiRathod opened this issue Jan 13, 2020 · 4 comments
Closed

Chat 21 SDK Issues. #43

LokiRathod opened this issue Jan 13, 2020 · 4 comments

Comments

@LokiRathod
Copy link

When i am adding the Chat21 Dependencies ("implementation 'org.chat21.android:chat21:1.0.15'")
I am getting below error. and My Project is in AndroidX.

Users/userName/.gradle/caches/transforms-2/files-2.1/fb96de9b363d9f480ff6012a7b07edf6/jetified-chat21-1.0.15/res/layout/layout_custom_notification.xml:29: AAPT: error: resource style/TextAppearance.AppCompat.Notification.Title (aka com.testdemo.projectname:style/TextAppearance.AppCompat.Notification.Title) not found.

Please help me here.

@zaprogrammer
Copy link

When i am adding the Chat21 Dependencies ("implementation 'org.chat21.android:chat21:1.0.15'")
I am getting below error. and My Project is in AndroidX.

Users/userName/.gradle/caches/transforms-2/files-2.1/fb96de9b363d9f480ff6012a7b07edf6/jetified-chat21-1.0.15/res/layout/layout_custom_notification.xml:29: AAPT: error: resource style/TextAppearance.AppCompat.Notification.Title (aka com.testdemo.projectname:style/TextAppearance.AppCompat.Notification.Title) not found.

Please help me here.

Same here, any solution ?

@gab-95
Copy link
Collaborator

gab-95 commented Jan 13, 2020

Hi @zaprogrammer,
try to add this in your style.xml file:

<style name="TextAppearance.AppCompat.Notification.Title" parent="@android:style/TextAppearance.StatusBar.EventContent.Title"/>

Tell me if it works properly.

@LokiRathod
Copy link
Author

Hi @gab-95 , I have tried this, But same issue.

@zaprogrammer
Copy link

zaprogrammer commented Jan 13, 2020

Hi @zaprogrammer,
try to add this in your style.xml file:

<style name="TextAppearance.AppCompat.Notification.Title" parent="@android:style/TextAppearance.StatusBar.EventContent.Title"/>

Tell me if it works properly.

Thanks a lot @gab-95, it worked, just had to duplicate for the Time and Info styles too as below:

<style name="TextAppearance.AppCompat.Notification.Title" parent="@android:style/TextAppearance.StatusBar.EventContent.Title" />
<style name="TextAppearance.AppCompat.Notification.Time" parent="@android:style/TextAppearance.StatusBar.EventContent.Title" />
<style name="TextAppearance.AppCompat.Notification.Info" parent="@android:style/TextAppearance.StatusBar.EventContent.Title" />

Thanks again :)

@gab-95 gab-95 closed this as completed Jan 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants