【发布时间】:2016-03-09 08:25:40
【问题描述】:
我正在使用android studio,当我尝试添加依赖项时
compile 'com.loopj.android:android-async-http:1.4.9'
同步项目时出错
错误:找不到:com.loopj.android:android-async-http:1.4.9
打开文件
在项目结构对话框中打开
当我打开 project structure -> Dependency 时,它会显示在库下 但问题是库没有同步。
当我尝试清理项目时出现类似错误
Error:A problem occurred configuring root project 'Frendy'.
无法解析配置“:_debugCompile”的所有依赖项。 找不到 com.loopj.android:android-async-http:1.4.9。 在以下位置搜索: 文件:/C:/Users/Binil/AppData/Local/Android/sdk/extras/android/m2repository/com/loopj/android/android-async-http/1.4.9/android-async-http-1.4.9。绒球 文件:/C:/Users/Binil/AppData/Local/Android/sdk/extras/android/m2repository/com/loopj/android/android-async-http/1.4.9/android-async-http-1.4.9。罐 文件:/C:/Users/Binil/AppData/Local/Android/sdk/extras/google/m2repository/com/loopj/android/android-async-http/1.4.9/android-async-http-1.4.9。绒球 文件:/C:/Users/Binil/AppData/Local/Android/sdk/extras/google/m2repository/com/loopj/android/android-async-http/1.4.9/android-async-http-1.4.9。罐 要求: :Frendy:unspecified
谁能帮帮我。
【问题讨论】:
-
清理项目后试试
-
请查看更新问题,在我清理项目后收到该错误@Amy
标签: android http-headers httpclient build.gradle