09:02 提问
在安卓studio中运行项目总是报错,有人知道怎么解决吗?
Error:A problem occurred configuring project ':app'.
Could not resolve all dependencies for configuration ':app:_debugCompile'.
Could not find any version that matches com.android.support:appcompat-v7:23.+.
Searched in the following locations:
file:/D:/Program Files/Android/sdk/extras/android/m2repository/com/android/support/appcompat-v7/maven-metadata.xml
file:/D:/Program Files/Android/sdk/extras/google/m2repository/com/android/support/appcompat-v7/maven-metadata.xml
file:/D:/Program Files/Android/sdk/extras/google/m2repository/com/android/support/appcompat-v7/
Required by:
Day27_Test:app:unspecified
按赞数排序
Android Studio万能快捷键alt + enter
包Appcompatv23换成别的试试?
jar包的版本不对,建议换到最新的试试,也可以根据提示,用alt+enter进行修复
Android Studio万能快捷键alt + enter
Android Studio万能快捷键alt + enter
Android Studio万能快捷键alt + enter
Android Studio万能快捷键alt + enter
rebuild project试试
哈哈,这个问题我遇到过。
解决方法:
1. 打开sdk manager,然后看看有哪些需要升级的,升级之。
2. 升级完成后,关闭sdk manager。
3. 重复1、2,直到没有需要更新的。
其他相似问题}