Troubleshooting
Common issues and how to resolve them.
Flutter / Pub Issues
flutter pub get fails with version conflicts
Run:
If that doesn't work, check pubspec.yaml for conflicting version constraints.
Build fails with "Gradle version not specified"
Ensure you have the correct Flutter SDK version installed:
flutter analyze shows many errors after update
Run the auto-fix:
Then run:
Android Issues
Emulator won't start
- Ensure HAXM is installed (Intel) or Hyper-V is enabled (AMD)
- Check that virtualization is enabled in BIOS
- Try
flutter emulatorsto list available emulators
App crashes on startup
- Check
flutter runoutput for exceptions - Verify
.envexists and has correct values - Ensure Twitch OAuth redirect URL is set to
https://twitch.tv/login
Release build fails with signing errors
- Verify
android/key.propertiesexists (local) or GitHub Secrets are set (CI) - Check keystore path, alias, and passwords
- Ensure
key.propertiesis not committed (it's in.gitignore)
"INSTALL_FAILED_VERSION_DOWNGRADE" on install
- Uninstall the existing app first:
OAuth / Authentication Issues
"Invalid client_id" error
- Verify
CLIENT_IDin.envmatches the Twitch Developer Console - Ensure
TOKEN_PROXY_URLis correct if using the proxy - Check that the redirect URL is exactly
https://twitch.tv/login
Login redirect doesn't work
- On Android, ensure the intent filter for
https://twitch.tv/loginis configured - On iOS, check URL schemes in
Info.plist
Chat Issues
Chat disconnects frequently
- Check network stability
- Verify IRC WebSocket endpoint (
wss://irc-ws.chat.twitch.tv:443) is reachable - The app has automatic reconnect logic; check logs for repeated failures
Emotes not showing
- Verify internet connectivity
- Check that BTTV/FFZ/7TV APIs are reachable
- 7TV websocket updates may be delayed; try refreshing
Video / Player Issues
Stream won't play
- Check if the streamer is actually live
- Verify network connectivity
- Try switching between embed player and native HLS in settings
Native HLS shows black screen
- Native HLS is experimental; the app should fall back to embed player
- Check
flutter runverbose output for media_kit errors - Report the issue with stream URL and device info
Picture-in-Picture not working
- Ensure PiP is enabled in Android system settings
- Check that the app has the correct
android:exportedand intent filter settings - Some devices have custom PiP implementations that may interfere
General Debugging
Enable verbose logging
Clear app data
# Android
adb shell pm clear tv.nice.nice_tv
# Or uninstall and reinstall
adb uninstall tv.nice.nice_tv
flutter run
Check Flutter health
Still Stuck?
- Search existing issues
- Open a new issue with:
- Flutter/Dart version (
flutter --version) - Device/OS info
- Steps to reproduce
- Log output from
flutter run --verbose