Installation Issues
Gradle dependency resolution fails
Gradle dependency resolution fails
Configuration Issues
SDK not initialized / NullPointerException
SDK not initialized / NullPointerException
Merchant ID type mismatch (version 4.3.1+)
Merchant ID type mismatch (version 4.3.1+)
Permission Issues
Location permission not being requested
Location permission not being requested
Collection Issues
Collection never completes / times out
Collection never completes / times out
Problem
The completion handlers are never called, or collection times out.Solution
- Check internet connectivity: Ensure the device has an active internet connection.
-
Verify permissions: Make sure
INTERNETpermission is in your manifest. - Check SDK version: Versions 4.2.0 and 4.2.1 had a race condition. Upgrade to 4.2.2+:
- Single Page Applications: If you’re running a SPA or don’t transition to a second view, make sure you’re on version 4.1.3+ which fixed data transmission delays.
- Check collection status:
Session ID is null or empty
Session ID is null or empty
Collection fails immediately
Collection fails immediately
Problem
The failure handler is called immediately when starting collection.Solution
- Check initialization: Ensure SDK is properly initialized before collection.
- Verify merchant ID: Make sure your merchant ID is valid:
- Check error message: Log the error in your failure handler:
- Context issues: Ensure you’re passing a valid Activity context, not Application context.
Data transmission delayed
Data transmission delayed
Problem
Collection completes but data doesn’t transmit to Kount servers immediately.Solution
If using version 4.1.2 or older: Upgrade to version 4.1.3+ which fixes transmission delays:- Single Page Applications (SPAs)
- Apps with Analytics enabled
- Apps that don’t transition to a second view before requesting data
Analytics Issues
Memory leak with many Activities
Memory leak with many Activities
UI elements not being collected
UI elements not being collected
Problem
Analytics feature (UI element collection) doesn’t seem to work.Solution
- Check SDK version: UI element collection was added in 4.1.0.
- Enable Analytics:
- Check Android version: Some features require Android 10+ (API 29) for full functionality.
Analytics collection defaults to true in version 4.1.0+.
Version-Specific Issues
CWE-926 vulnerability (versions before 4.3.2)
CWE-926 vulnerability (versions before 4.3.2)
NullPointer when connecting/disconnecting charger (4.1.1 and older)
NullPointer when connecting/disconnecting charger (4.1.1 and older)
Debugging Tips
Test on Multiple Devices
Test on different Android versions:
- Minimum supported version (API 26 for latest SDK)
- Android 10+ for full features
- Different manufacturers (Samsung, Google, etc.)
Still Having Issues?
If you’re still experiencing problems:- Review the Migration Guide if you recently upgraded
- Check the Changelog for version-specific issues
- Visit Kount Community
- Email [email protected] with:
- SDK version
- Android version and device model
- Relevant code snippets
- Logcat output showing the issue
