Posted by : 紹斌 2015年12月16日 星期三

「Android Studio」的圖片搜尋結果
Android Studio

Error:
Could not resolve all dependencies for configuration ':app:_debugUnitTestCompile

It can happen if you have proxy settings and you are not connected to it.

Create and Edit gradle.properties

C:\Users\NAME\.gradle\.gradle.properties


systemProp.http.proxyHost=www.somehost.org
systemProp.http.proxyPort=8080
systemProp.http.proxyUser=userid
systemProp.http.proxyPassword=password
systemProp.http.nonProxyHosts=*.nonproxyrepos.com|localhost    
systemProp.https.proxyHost=www.somehost.org
systemProp.https.proxyPort=8080
systemProp.https.proxyUser=userid
systemProp.https.proxyPassword=password
systemProp.https.nonProxyHosts=*.nonproxyrepos.com|localhost


other:
1.Download gradle
2.untar and set  gradle home dir in Android Audio
  C:\Program Files\Android\Android Studio\gradle\gradle-x.x

Translate

關於我

我的相片
台北市, Taiwan
主要工作領域於Linux、IBM System i/ P 的系統管理維護, (認證:CISA、RHCE)

Donate Check_AS400

OR - Click Sponsored advertising

Labels

ShaoPin網誌. 技術提供:Blogger.

- Copyright © Shao Pin Cheng (Bruce) - Powered by Blogger