在安装liunx下的android studios出现的错误
Posted yarsnwoing
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了在安装liunx下的android studios出现的错误相关的知识,希望对你有一定的参考价值。
Information:Gradle tasks [:app:generateDebugSources, :app:generateDebugandroidTestSources, :app:assembleDebug]
Error:A problem occurred configuring project ‘:app’.
Could not resolve all dependencies for configuration ‘:app:_debugCompile’.
Could not find com.android.support:recyclerview-v7:.
Searched in the following locations:
https://jcenter.bintray.com/com/android/support/recyclerview-v7//recyclerview-v7-.pom
https://jcenter.bintray.com/com/android/support/recyclerview-v7//recyclerview-v7-.jar
file:/C:/Users/ANDROID/AppData/Local/Android/sdk/extras/android/m2repository/com/android/support/recyclerview-v7//recyclerview-v7-.pom
file:/C:/Users/ANDROID/AppData/Local/Android/sdk/extras/android/m2repository/com/android/support/recyclerview-v7//recyclerview-v7-.jar
file:/C:/Users/ANDROID/AppData/Local/Android/sdk/extras/google/m2repository/com/android/support/recyclerview-v7//recyclerview-v7-.pom
file:/C:/Users/ANDROID/AppData/Local/Android/sdk/extras/google/m2repository/com/android/support/recyclerview-v7//recyclerview-v7-.jar
Required by:
ShoppingMazza:app:unspecified
Information:BUILD FAILED
Information:Total time: 4.964 secs
Information:1 error
Information:0 warnings
Information:See complete output in console
解决办法
This can happen when there is an error in an update. To fix it open android sdk manager and:
Uninstall android support repository
Install again android support repository
stackoverflow链接:https://stackoverflow.com/questions/38090248/could-not-resolve-all-dependencies-for-configuration-appdebugapkcopy
以上是关于在安装liunx下的android studios出现的错误的主要内容,如果未能解决你的问题,请参考以下文章
Ubuntu18.04下的 Android Studio 3.1.2
Android studio 下的SDK Manager只显示已安装包的情况