When you import studio engineering, when you sync, you are prompted to error:configuration with name ' default ' found.
Before because of the unfamiliar with Gradle, so did not find the reason, in fact, is also lazy, did not seriously to troubleshoot the problem, and today encountered, will toss the will, all the configuration file open to see, and finally solve the problem, found that it is a low-level can not low-level problems, so record, alert themselves.
1. Open settings.gradle found that there are many include ': App ' such include, but found in the project's directory there is no include items, So add the items that need to include, and if the included items don't need to, delete the include statements directly and try again.
2. According to the above operation, or add the corresponding inlcude of the project to come in, but found that will be prompted such a default not found statement, what is the case, the original use of Gradle compiled works, each project must have the following Build.gradle file to compile the include project. The whole big project can only sync through. Add the corresponding Gradle configuration file to the include project, and then sync again, the whole project has been passed.
Finally dealt with this problem, in fact, the problem is very simple, but blame their young ignorance, so now record these once ignorant of the fault, and then in turn to see that they may be a smile.
Thank you for reading, I hope to help you, thank you for your support for this site!