手动拷贝添加依赖

手动拷贝依赖包直接扔进工程的时候,忘记了配置工程的setting.gradle,会报以下错误。

Build file '/Users/mhuang/AndroidStudioProjects/DayItem/app/build.gradle' line: 144
A problem occurred evaluating project ':app'.
> Project with path ':library:android-custom-dialog' could not be found in project ':app'.

更正 工程
settings.gradle 里面加上包路径信息

include ':app', ':library:flexbox',':library:android-custom-dialog'

把依赖加进来。

你可能感兴趣的:(手动拷贝添加依赖)