“GoogleApiClient is not connected yet” exception in Cast application

Google APIs for Android > GoogleApiClient You should instantiate a client object in your Activity’s onCreate(Bundle) method and then call connect() in onStart() and disconnect() in onStop(), regardless of the state. The implementation of the GoogleApiClient appears designed for only a single instance. It’s best to instantiate it only once in onCreate, then perform connections … Read more

Google Chromecast sender error if Chromecast extension is not installed or using incognito

Update: After several attempts, it looks like this may have been fixed in latest Chrome builds (per Paul Irish’s comment below). That would suggest we will see this fixed in stable Chrome June-July 2016. Let’s see … This is a known bug with the official Chromecast JavaScript library. Instead of failing silently, it dumps these … Read more