手動(dòng)拷貝依賴(lài)包直接扔進(jìn)工程的時(shí)候,忘記了配置工程的setting.gradle脊阴,會(huì)報(bào)以下錯(cuò)誤疟游。
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'
把依賴(lài)加進(jìn)來(lái)。