cometchat-android-v5-troubleshooting — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited cometchat-android-v5-troubleshooting (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Ground truth:com.cometchat:chat-uikit-android:5.x(legacy/maintenance-only; +calls-sdk-android:5.x) — resolved AAR (javap) +ui-kit/android. Official docs: https://www.cometchat.com/docs/ui-kit/android/overview · Docs MCP:claude mcp add --transport http cometchat-docs https://www.cometchat.com/docs/mcp(or fetch the URL directly without MCP). Verify symbols against the installed package/source before relying on them.
Companion skills:cometchat-android-v5-corecovers correct init/login patterns;cometchat-android-v5-productioncovers ProGuard rules.
This skill teaches how to diagnose CometChat Android integration problems systematically. It covers Gradle build errors, runtime crashes, rendering issues, and version compatibility.
cometchat-android-v5-corecometchat-android-v5-theming| Symptom | Likely cause | Fix |
|---|---|---|
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 |
| Message list shows wrong messages | setUser()/setGroup() called with wrong object | Verify UID/GUID matches the intended conversation |
| Calling buttons not showing | Calling SDK not added | Add com.cometchat:calls-sdk-android:5.+ dependency (matches -core/-features) |
java.lang.NoSuchMethodError | Version mismatch between UI Kit and Chat SDK | Use compatible versions — UI Kit 5.x requires Chat SDK 4.x |
CometChatUIKit.isSDKInitialized() — must be trueCometChatUIKit.getLoggedInUser() — must not be null./gradlew app:dependencies | grep cometchat — verify versionsINTERNET permissionCometChat tag~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.