亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

失敗:構建失敗并出現異常(無法解析配置“:app:lintClassPath”的所有文件。)

失?。簶嫿ㄊ〔⒊霈F異常(無法解析配置“:app:lintClassPath”的所有文件。)

慕的地6264312 2023-08-04 15:15:25
我有這個錯誤:失敗:構建失敗并出現異常。什么地方出了錯:任務“:app:lintVitalFreeRelease”執行失敗。> Could not resolve all files for configuration ':app:lintClassPath'.> Could not download lint-kotlin.jar (com.android.tools.lint:lint-kotlin:26.2.1): No cached version available for offline mode> Could not download intellij-core.jar (com.android.tools.external.com-intellij:intellij-core:26.2.1): No cached version available for offline mode> Could not download uast.jar (com.android.tools.external.org-jetbrains:uast:26.2.1): No cached version available for offline mode> Could not download groovy-all.jar (org.codehaus.groovy:groovy-all:2.4.12): No cached version available for offline mode> Could not download kotlin-compiler.jar (com.android.tools.external.com-intellij:kotlin-compiler:26.2.1): No cached version available for offline mode> Could not download error_prone_annotations.jar (com.google.errorprone:error_prone_annotations:2.0.18): No cached version available for offline mode* Try:>Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.我該如何解決?
查看完整描述

1 回答

?
慕容3067478

TA貢獻1773條經驗 獲得超3個贊

看起來您已啟用離線模式:


https://img1.sycdn.imooc.com//64cca5b300018fad04120218.jpg

請嘗試取消選中“設置”下的“離線工作”,同步 gradle,然后重試。



查看完整回答
反對 回復 2023-08-04
  • 1 回答
  • 0 關注
  • 388 瀏覽
慕課專欄
更多

添加回答

舉報

0/150
提交
取消
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號