Problems encountered in IDEA compiler

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

 

Published 125 original articles · Like 31 · Visits 60,000+

Guess you like

Origin blog.csdn.net/Fiverya/article/details/104270784