Solve the error when compiling AndroidStudio (or IDEA): org.gradle.api.ProjectConfigurationException
Need to modify the gradle configuration outside the project:
repositories {
google()
maven{url 'http://maven.aliyun.com/nexus/content/groups/public/'}
jcenter()
}
报错 ******.is registered as a Git root, but no Git repositories were found there.
Select, then delete-
Warning:Unable to make the module: xxx, related gradle configuration was not found. Please, re-im...
Click this spin to refresh.
Failed to find target with hash string 'android-25' in:D:\SDK
Just click install directly