解决AndroidStudio(或IDEA)编译时报错:org.gradle.api.ProjectConfigurationException
需要修改项目外gradle配置 :
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.
选中,然后-号删除即可
Warning:Unable to make the module: xxx, related gradle configuration was not found. Please, re-im...
点击这个回旋刷新。
Failed to find target with hash string 'android-25' in:D:\SDK
这个直接点击install就行了