Could not resolve com.cometchat:chat-uikit-android | Missing Maven repo | Add maven { url "https://dl.cloudsmith.io/public/cometchat/cometchat/maven/" } to repositories |
Duplicate class com.cometchat.* | Multiple CometChat versions | Check dependency tree: ./gradlew app:dependencies |
| Blank conversation list | Not logged in, or no conversations exist | Verify getLoggedInUser() != null. Send a test message from dashboard. |
CometChatException: ERR - Authentication null | init() not called or failed | Call init() before login(). Check isSDKInitialized(). |
CometChatException: appIdErr | App ID not set in UIKitSettings | Verify setAppId() in UIKitSettingsBuilder |
| Components show but no data | Login succeeded but wrong region | Verify region matches dashboard: "us", "eu", "in" |
ClassNotFoundException in release build | ProGuard stripping CometChat classes | Add -keep class com.cometchat.** { *; } to proguard-rules.pro |
UnsupportedOperationException: Failed to resolve attribute when inflating CometChat views | App theme inherits Theme.AppCompat.* or Theme.Material3.* — the kit's attrs are resolved against Material 2 (CometChatTheme.DayNight itself parents on Theme.MaterialComponents.DayNight.NoActionBar) | Change app theme parent to CometChatTheme.DayNight |
NetworkOnMainThreadException | Calling CometChat sync methods on main thread | Use callbacks (all CometChat methods are async) |
minSdkVersion 21 error | CometChat requires API 24+ | Set minSdkVersion 24 in build.gradle |
|