使用视频框架 Vitamio报错:Project with path ':vitamio' could not be found in project ':app'.下边是我导入 Moudle的步骤:
这是从官网下载解压出来的文件,网上说导入红框中的文件夹:
导入Moudle:
导入之后在app下的build.gradlet添加依赖:
报了以下错误:
解决了!
没有在settings.gradlet添加:
然后又报了
Configuration 'compile' is obsolete and has been replaced with 'implementation'.
It will be removed at the end of 2018
说compile过时了,用implementation代替,改成:
完美解决!
1、app下的build.gradle依赖改成implementation :
implementation project(':vitamio')
2、settings.gradlet添加
include ':app',