Check the settings.gradle
file. The modules which are included may be missing or in another directory. For instance, with below line in settings.gradle
, gradle searches common-lib
module inside your project directory:
include ':common-lib'
If it is missing, you can find and copy this module into your project or reference its path in settings.gradle
file:
include ':common-lib'
project(':common-lib').projectDir = new File('<path to your module i.e. C://Libraries/common-lib>') //