1. 程式人生 > >unable to resolve dependency for [email protected]。。。解決方

unable to resolve dependency for [email protected]。。。解決方

最近把android studio升級到了3.2,出了一堆問題,主要就是無法更新無法下載之類的。

包括出現的:

unable to resolve dependency for [email protected]。。。
Open File
Show Detail

由於已經解決無法復現。
解決方法:
開啟C:/Users/(使用者名稱)/.gradle/gradle.properties
把代理的配置註釋掉,例如:

## 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 #Sat Sep 29 23:37:12 CST 2018 #systemProp.http.proxyHost=mirrors.neusoft.edu.cn #systemProp.https.proxyPort=80
#systemProp.https.proxyHost=mirrors.neusoft.edu.cn #systemProp.http.proxyPort=80

然後重啟studio,Build–>Make Project一下,則會自動下載該下載的東西。

相關推薦

unable to resolve dependency for <a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="4322333303">[email&#160;protected]a>解決

最近把android studio升級到了3.2,出了一堆問題,主要就是無法更新無法下載之類的。 包括出現的: unable to resolve dependency for [email protected]。。。 Open File Show

Unable to resolve dependency for ':<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="56372626163233342331">[email&#160;prot

今天匯入Android專案的時候突然遇到了一個問題,‘Unable to resolve dependency’ 有點頭疼,然後就在網上找了很多方法,發現都不行,最後發現,原來是 這個檔案的配置出了錯,我新匯入的gradle-4.6-all.zip,我的專案的是gradle-4.4

Unable to resolve dependency for :<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="5b3a2b2b1b3f3e23142b2f32343528">[email&#160

這個是android studio 3.0的坑  如果你的專案裡面有好多個依賴module就會報很多行相似的錯誤原因是你的app下面的build.gradel裡面的buildTypes{ debug{ ... } release{ ..

Android Studio報錯Unable to resolve dependency for ':<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="721302023200171e">[email&#

Android Studio報錯Unable to resolve dependency for’:[email protected]/compileClasspath’:無法引用任何外部依賴的解決辦法 Android Studio 在引用外部依賴時

gradle升到4.4後,報Unable to resolve dependency for ':<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="1d7c6d6d5d79787f687a">[email

Android studio可以升級到3.1了,預設用的是gradle4.4修改為distributionUrl=https\://services.gradle.org/distributions/gradle-4.4-all.zipbuildscript { re

windows中安裝RabbitMQ時:,unable to connect to node <a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="e1938083838895a1999999">[email

前言最近在Windows server 2012 R2的百度雲伺服器上安裝rabbitmq時,在執行rabbitmqctl status命令時,一直報錯,開始時出現的如下錯誤:Error: unable to connect to node [email prote

Access denied for user <a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="3b4954544f7b5754585a575354484f">[email&#160;protected]

忘記了root密碼,或者刪了root的一些許可權,換來一堆報錯,比如 ERROR 1142 (42000): SELECT command denied to user 'root'@'localhost' for tabERROR 1045 (28000): Access denied for us

mysql Access denied for user <a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="25574a4a5165494a4644494d4a5651">[email&#160;prot

今天做一個遊戲,伺服器呼叫mysql,查詢使用者名稱密碼,結果怎麼也登入不上mysql,在網上找到一個網友的解決方法,按照他的方式一步一步解決了。 問題重現(以下討論範圍僅限Windows環境):   C:\Users\Administrator> mysql

mysql Access denied for user <a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="93e1fcfce7d3fffcf0f2fffbfce0e7">[email&#160;prot

好久沒有使用mysql,突然想起來開啟一個以前的mysql資料庫的專案看看,結果開啟頁面時出錯,提示為:mysql Access denied for user [email protected]錯誤 百度了一下,網上說要改my.ini,於是我到mysql的安裝目錄C:\Program Files

undefined reference to symbol '<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="3242465a405753566d415b555f53415972">[email

/usr/bin/ld: CMakeFiles/xxxx/yyyyy.cpp.o: undefined reference to symbol '[email protected]@GLIBC

Code::Blocks : undefined reference to `<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="bac2c2c2c2c2c2fa8e">[email&#160;protec

使用CodeBlocks在編譯程式的時候出現如下錯誤: undefined reference to `[email protected]'undefined reference to `[email protect

關於問題 mysql"Access denied for user <a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="0a7865657e4a6665696b666265797e">[email

1.問題來源:   最近由LAMP轉到LNMP,初次使用LNMP,為了快速入門,直接安裝LNMP組合安裝包。   當啟動mysql資料庫時,出現如下的錯誤資訊   ERROR 1045 (28000): Access denied for user 'r

關於問題 mysql"Access denied for user <a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="e4968b8b90a4888b8785888c8b9790">[email&#160

+-----------+------+-------------------------------------------+ | host      | user | password                                  | +-----------+---

Ubuntu Uundefined reference to symbol '<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="f2829d85b2">[email&#160;protected]a>

今天建了一個工程,make後,報錯 /usr/bin/ld: Caculator/Calculator.o: undefined reference to symbol '[email protected]@GLIBC_2.2.5' 因為使用了mathematic

mysql Access denied for user <a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="6614090912260a0905070a0e091512">[email&#160;prot

問題重現(以下討論範圍僅限Windows環境):  C:\AppServ\MySQL> mysql -u root -p Enter password:  ERROR 1045 (28000): Access denied for user 'root'@'localh

Code::Blocks : undefined reference to `<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="047c7c7c7c7c7c4430">[email&#160;protec

使用CodeBlocks在編譯程式的時候出現如下錯誤: undefined reference to `[email protected]'undefinedreferenceto`[email protected]'undefinedreference

Mysql Access denied for user <a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="c9bba6a6bd89a5a6aaa8a5a1a6babd">[email&#160;prot

mysql Access denied for user \'root\'@\'localhost\'”解決辦法總結,下面我們對常見的出現的一些錯誤程式碼進行分析並給出解決辦法,有需要的朋友可參考一下。 錯誤程式碼 1045 Access denied for us

【MySQL】Access denied for user '<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="34465b5b4074585b5755585c5b4740">[email&#160;pr

這個問題折磨了我幾個小時,現在把解決的過程記錄一下,希望對其他也遇到這個問題的人有所幫助。     我安裝的是MySQL5.7.14,在MySQL5.6之後root賬戶的預設密碼就不是空了,如果還是用空密碼登陸的話肯定一直報這個錯誤。要不就是忘記了安裝設定的密碼,要不就是自

undefined reference to symbol <a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="e29a9aa2">[email&#160;protected]a>@GLIBC_2.2

記一次編譯過程 undefined reference to symbol  [email protected]@GLIBC_2.2.5  1. 開始以為是連結錯誤,更換庫的順序,但不奏效 2. 把動態庫換成靜態庫,這個肯定一樣的效果 3. 更新gcc版本 4.

shell腳本中的$# $0 <a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="f8dcb8">[email&#160;protected]a> $* $$ $! $?的意義

腳本 $* width 上一個 pre shell int .cn height 轉載自:http://www.cnblogs.com/davygeek/p/5670212.html 今天學寫腳本遇到一些變量不認識,在此做下記錄。 變量 含義 $0 當前腳本的文件