Project with path ‘XXXX’ could not be found

 
My main problem is to delete a library module and submit the code to the server through GIT. When my colleagues pull the code I upload through git, the project still exists in the library and report the dependency error E rror:Project with path ‘XXXX’ could not be found

reason:

When the project is compiled, options corresponding to the related library will appear in gradle.xml automatically generated by. Idea, as shown in the figure

terms of settlement:

Delete the option node of the corresponding library, close the project and re open the compilation.

A more crude way is to delete the. Idea file directly, close the project, and reopen the compilation.


Read More: