gpt4 book ai didi

android - 未能解决依赖关系。?

转载 作者:塔克拉玛干 更新时间:2023-11-03 00:59:42 24 4
gpt4 key购买 nike

你好,我刚刚将我的 android studio 项目从一台电脑导入到另一台电脑,在构建它时显示错误,在离线模式下构建项目时检测到 Unresolved 依赖项。我在 Gradle settings 中取消选中 OFFLINE WORK 。取消选中后它现在显示错误

 A problem occurred configuring project ':app'.
> Could not resolve all dependencies for configuration ':app:_debugCompile'.
> Could not find com.android.support:support-v4:23.0.1.
Searched in the following locations:
https://jcenter.bintray.com/com/android/support/support-v4/23.0.1/support-v4-23.0.1.pom
https://jcenter.bintray.com/com/android/support/support-v4/23.0.1/support-v4-23.0.1.jar
file:/C:/Users/user/AppData/Local/Android/sdk1/extras/android/m2repository/com/android/support/support-v4/23.0.1/support-v4-23.0.1.pom
file:/C:/Users/user/AppData/Local/Android/sdk1/extras/android/m2repository/com/android/support/support-v4/23.0.1/support-v4-23.0.1.jar
file:/C:/Users/user/AppData/Local/Android/sdk1/extras/google/m2repository/com/android/support/support-v4/23.0.1/support-v4-23.0.1.pom
file:/C:/Users/user/AppData/Local/Android/sdk1/extras/google/m2repository/com/android/support/support-v4/23.0.1/support-v4-23.0.1.jar
Required by:
TheFlame:app:unspecified > com.android.support:appcompat-v7:22.2.0
TheFlame:app:unspecified > com.android.support:design:22.2.0
TheFlame:app:unspecified > com.android.support:recyclerview-v7:22.2.0

Could not find com.android.support:support-v4:23.0.1. Searched in the following locations: https://jcenter.bintray.com/com/android/support/support-v4/23.0.1/support-v4-23.0.1.pom https://jcenter.bintray.com/com/android/support/support-v4/23.0.1/support-v4-23.0.1.jar file:/C:/Users/user/AppData/Local/Android/sdk1/extras/android/m2repository/com/android/support/support-v4/23.0.1/support-v4-23.0.1.pom file:/C:/Users/user/AppData/Local/Android/sdk1/extras/android/m2repository/com/android/support/support-v4/23.0.1/support-v4-23.0.1.jar file:/C:/Users/user/AppData/Local/Android/sdk1/extras/google/m2repository/com/android/support/support-v4/23.0.1/support-v4-23.0.1.pom file:/C:/Users/user/AppData/Local/Android/sdk1/extras/google/m2repository/com/android/support/support-v4/23.0.1/support-v4-23.0.1.jar Required by: TheFlame:app:unspecified > me.dm7.barcodescanner:zxing:1.8.3 > me.dm7.barcodescanner:core:1.8.3

谁能帮我快速完成这个任务。

最佳答案

Similiar Issue

确保在SDK 管理器中更新“Android 支持存储库”“Android 支持库”

还要确保 Gradle Sync 在 Android Studio 中完成。

enter image description here

关于android - 未能解决依赖关系。?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33724278/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com