I have downloaded and built the CastCompanionLibrary and CastVideos-android sample code from github, after updating google play services library etc.
I have modified the strings file to enter my AppId.
I have a test device configured in the developer console, and also I configured an app (is the sample video app in this case) and I entered the same package name as in the AndroidManifest.xml for the app.
The app start, runs and shows lists of videos - but does not seem to detect the chromecast device as on button is added to the ActionBar.
I am now trying to publish the sample app to see if that fixes it, but following the instructions and using the stock sample code is not working for me so far.
What am I doing wrong?