nilkash
nilkash

Reputation: 7536

Error while building android chrome cast video example

Hi I trying chrome cast device with Google's https://github.com/googlecast/CastVideos-android this sample. I have imported appcompat and mediarouter from V7 lib. I also imported google play service lib and CastCompanionLibrary-android. All libs are proper and without any error. But when I tried to build video sample it gives me some resources error in styles-castvideo.xml. It gives error for following resources

  <style name="ShowcaseView">
    <item name="sv_titleTextAppearance">@style/TextAppearance.ShowcaseView.Title</item>
    <item name="sv_detailTextAppearance">@style/TextAppearance.ShowcaseView.Detail</item>
    <item name="sv_backgroundColor">#CC000000</item>
    <item name="sv_buttonText">@string/ok</item>
    <item name="sv_showcaseColor">@color/yellow</item>
</style>

Am I missing something. Need some help. Thank you.

Upvotes: 2

Views: 256

Answers (1)

Mery feng
Mery feng

Reputation: 26

ShowcaseView should be added as library. https://github.com/naddaf/ShowcaseView Dependencies

CastCompanionLibrary-android: can be downloaded here at https://github.com/googlecast/CastCompanionLibrary-android

ShowcaseView (see change list 1.1 -> 1.2 for details)

Upvotes: 1

Related Questions