IDEA 编译程序中遇到的问题

解决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就行了

发布了125 篇原创文章 · 获赞 31 · 访问量 6万+

猜你喜欢

转载自blog.csdn.net/Fiverya/article/details/104270784
今日推荐