I use Android Studio and cloned the CastVideo v2 linking application and configured it using CastCompanionLibrary according to its instructions.
However, when I try to synchronize the gradle project, it says: Failed to resolve: com.google.android.gms:play-services-cast:9.8.00 . I have the Install Repository and sync project option, but it does nothing.
I tried to do Invalidate Caches / Restart... by uninstalling and reinstalling Google Repository and Google Play services using the SDK manager, changing the dependency version and renaming it to play-services-cast-framework , without success.
My build.gradle does not change from those in the repositories.
Does anyone know how to fix this? SO and Google's search queries were fruitless as they read other unresolved dependency issues.
android android-studio android-gradle google-play-services google-cast
Alex meuer
source share