android Studio 出現:Unable to resolve dependency for ':app@debug/compileClasspath'

轉載自原文https://www.cnblogs.com/fengfenghuifei/p/10098054.html

 

新安裝了一箇舊版本的Android studio ,創建工程的時候出現這個問題。

一連串的Error:Unable to resolve dependency for...open file Show Details

於是查資料,網上的解決辦法就是在gradle.properties 文件註釋掉prox使用即可

## For more details on how to configure your build environment visit
# http://www.gradle.org/docs/current/userguide/build_environment.html
#
# Specifies the JVM arguments used for the daemon process.
# The setting is particularly useful for tweaking memory settings.
# Default value: -Xmx1024m -XX:MaxPermSize=256m
# org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
#
# When configured, Gradle will run in incubating parallel mode.
# This option should only be used with decoupled projects. More details, visit
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
# org.gradle.parallel=true
#Mon Dec 10 12:56:38 CST 2018
#systemProp.http.proxyHost=mirrors.neusoft.edu.cn
#systemProp.https.proxyPort=80

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章