【问题标题】:Adding CastCompanionLibrary to a project - Android Studio将 CastCompanionLibrary 添加到项目 - Android Studio
【发布时间】:2014-04-02 23:31:17
【问题描述】:

如何将 CastCompanionLibrary 添加到 Android Studio 中的项目中。我阅读了存储库中的 README.md 和 pdf,但没有详细说明如何。任何将其添加到我的项目中的帮助将不胜感激。 谢谢。

【问题讨论】:

  • 这个项目可能对你有帮助:github.com/sgehrman/CastVideos-android
  • 这里CastVideos-android示例的底部也有一些注释:github.com/googlecast/CastVideos-android
  • 完美,谢谢 Doug,我很难在 android studio 中正确构建任何示例。您的第一个项目中引用的那个效果很好,也回答了我的问题。继续,让您的评论成为答案,我会接受它。再次感谢!
  • 很高兴它有帮助。谢谢。

标签: android google-cast


【解决方案1】:

Github 上的这个项目是从 Google Cast 演示中派生出来的,并为 Android Studio 重新构建:https://github.com/sgehrman/CastVideos-android

【讨论】:

    【解决方案2】:

    CastCompanionLibrary 现在有 gradle 构建文件,因此您可以直接将其导入 Android Studio,或从另一个项目中引用它(参见 CastVideos-android 项目中的示例)。

    【讨论】:

      猜你喜欢
      • 2017-02-02
      • 2017-01-17
      • 2015-06-04
      • 1970-01-01
      • 2013-05-10
      • 2020-01-02
      • 2013-09-02
      • 2013-06-15
      • 2015-10-22
      相关资源
      最近更新 更多