Error:Could not resolve all files for configuration ':app:preDebugCompileClasspath'. Could not fin
生活随笔
收集整理的這篇文章主要介紹了
Error:Could not resolve all files for configuration ':app:preDebugCompileClasspath'. Could not fin
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
?
報錯如下:
左邊報錯部分: Error:Could not resolve all files for configuration ':app:preDebugCompileClasspath'. > Could not find appcompat-v7.aar (com.android.support:appcompat-v7:26.1.0).Searched in the following locations:https://jcenter.bintray.com/com/android/support/appcompat-v7/26.1.0/appcompat-v7-26.1.0.aar右邊報錯部分: FAILURE: Build failed with an exception.* What went wrong: Could not resolve all files for configuration ':app:preDebugCompileClasspath'. > Could not find appcompat-v7.aar (com.android.support:appcompat-v7:26.1.0).Searched in the following locations:https://jcenter.bintray.com/com/android/support/appcompat-v7/26.1.0/appcompat-v7-26.1.0.aar* Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.* Get more help at https://help.gradle.orgBUILD FAILED in 1s3 actionable tasks: 2 executed, 1 up-to-date解決方法:
在項目的gradle下面添加Google()即可
?
?
?
?
感謝原博主:博主鏈接
總結
以上是生活随笔為你收集整理的Error:Could not resolve all files for configuration ':app:preDebugCompileClasspath'. Could not fin的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: windows ai文字如何创建轮廓
- 下一篇: 怎么使用EasyX