cometchat-android-v6-troubleshooting
Installation
SKILL.md
Ground truth: catalog
android-v6.json+ the kit's real error codes (ERR_SETTINGS_FILE_NOT_FOUND,ERR_SETTINGS_INVALID,CometChatException.code/message) + the live page/ui-kit/android/troubleshooting. This skill goes DEEPER thancore/references/troubleshooting.md(the quick table) — read that first for the common four; come here for the full path and for escalation.
Companion skills (read first)
cometchat-android-v6-core— install, credentials,initFromSettings → login → render,references/troubleshooting.md(the first-stop table),references/anti-patterns.md,references/layout.md. Assumed here, never repeated.
Use this skill when
"it doesn't work", "the build fails", "the chat screen is blank/stuck", "messages don't arrive until I reopen", "the composer is under the keyboard", "it works in debug but crashes in release", "calls/push don't work" — and you need a systematic path, not a guess.
Diagnostics entry — run these three, in order, before theorizing
- Does it BUILD?
./gradlew :app:assembleDebug. Dependency-resolution and duplicate-class failures are config, not code. - What does LOGCAT say at startup? Filter for
CometChat. You are looking for exactly two things: init'sonSuccess/onError, then login'sonSuccess/onError. Almost every "nothing works" report is one of these two failing and being swallowed — if your callbacks don't loge.code+e.message, fix that first; an emptyonError {}is the bug. - What's the SESSION state?
CometChatUIKit.getLoggedInUser()— null after a "successful" login means login didn't actually complete.