Android Zendesk SDK v1 Offline Messge Fragment layout invalid after Jetifier

If you can update to use implementation 'com.zopim.android:sdk:1.4.2' that fixed the issue for me.


I too faced a similar issue , since I have integrated Zendesk Chat support in my android app.

1) Update the Zendesk Chat SDK dependency to implementation 'com.zopim.android:sdk:1.4.2'

2) Along with updating the chat sdk dependency, I had to set the targetSDKversion, compileSDKVersion to API level 28 and buildToolsVersion to '28.0.3' (Currently I'm using Android Studio version 3.3.2)

android {
compileSdkVersion 28
buildToolsVersion "28.0.3"


defaultConfig {
    applicationId "com.project_name.demo"
    minSdkVersion 19
    targetSdkVersion 28
    versionCode 9
    multiDexEnabled true
    testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}

dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.android.support:appcompat-v7:28.0.0'
implementation 'com.android.support:design:28.0.0'
implementation 'com.android.support:support-v4:28.0.0'
implementation 'com.android.support:cardview-v7:28.0.0'
implementation 'com.android.support:recyclerview-v7:28.0.0'
implementation 'com.android.support:multidex:1.0.1'
implementation 'com.google.code.gson:gson:2.8.2'

implementation 'com.zopim.android:sdk:1.4.2'
implementation group: 'com.zendesk', name: 'support', version: '2.1.1'

testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
implementation 'com.crashlytics.sdk.android:crashlytics:2.9.5' 
}