while building cordova project i get the follwing error on running command cordova build android?
please help with the follwoing code科爾多瓦構建Android命令錯誤
C:\Users\gaurav-s\hello>cordova build android
ANDROID_HOME = d:\ ADT-束 - 窗口x86-20140702 \ SDK JAVA_HOME = C:\ Program Files文件\的Java \ jdk1.7.0
故障:構建失敗,出現異常。
出了什麼問題: 一個問題出現在配置根項目「機器人」。
Could not resolve all dependencies for configuration ':classpath'. Could not resolve com.android.tools.build:gradle:1.5.0. Required by: :android:unspecified Could not GET ' https://jcenter.bintray.com/com/android/tools/build/gradl e/1.5.0/gradle-1.5.0.pom'. Received status code 407 from server: Proxy Authentic ation Required
嘗試: 與--stacktrace選項獲取堆棧跟蹤運行。使用--info或--debug 選項運行以獲取更多日誌輸出。
BUILD FAILED
總時間:10.001秒 錯誤:命令錯誤代碼1:用ARGS CMD:/秒,/ C,「C:\用戶\拉夫-S \你好\ p latforms \機器人\ gradlew cdvBuildDebug -b C:\用戶\拉夫-S \你好\平臺\的Andr oid的 \的build.gradle -Dorg.gradle.daemon =真-Pandroid.useDeprecatedNdk =真正的」
是你下一個代理?如果是,請檢查此設置您的代理http:// stackoverflow。com/questions/30219065/gradle-cant-connect-to-maven-repo-through-corporate-proxy-need-to-configure -t – dariru
我改變了設置後出現以下錯誤「Could not GET」https: //jcenter.bintray.com/com/android/tools/build/gradl e/1.5.0/gradle-1.5.0.pom'。從服務器收到狀態碼407:代理服務器正確 ation必需的「 –
您可以編輯你的問題和複製粘貼下一個出來的整個錯誤?也許這也是類似的東西:http://stackoverflow.com/questions/5991194/gradle-proxy-configuration – dariru