android support library 22.2,Failed to resolve: com.android.support:appcompat-v7:22.2.1

when I import an eclipse project to the AS,an error occurred:

E:\studioWorkspace\YTHDBL\yTHDBL\build.gradle

Error:Error:line (25)Failed to resolve: com.android.support:appcompat-v7:22.2.1

Install Repository and sync project

Show in File

open.dependency.in.project.structure

Show in Project Structure dialog

Error:Error:line (24)Failed to resolve: com.android.support:support-v4:22.2.1

Install Repository and sync project

Show in File

open.dependency.in.project.structure

Show in Project Structure dialog

I searched for answers and found this:how do I properly install support_v7

Did I set the wrong support library number?,I tried 22.0.0,22.2.0.....,but not worked.

In my sdk manager ,the Android support Repository was installed,reversion 16,and the Android Support Library was already installed,reversion 22.2.1.

The google Repository was installed too.

and this is my build.gradle:

dependencies {

compile project(':library')

compile project(':alipay_lib')

compile project(':sMSSDK')

compile 'com.android.support:support-v4:22.2.1'

compile 'com.android.support:appcompat-v7:22.2.1'

compile files('libs/alipay.jar')

compile files('libs/android-query.0.25.10.jar')

compile files('libs/baidumapapi_v3_1_0.jar')

compile files('libs/commons-codec-1.6.jar')

compile files('libs/jackson-core-asl-1.9.11.jar')

compile files('libs/jackson-mapper-asl-1.9.11.jar')

compile files('libs/jpush-sdk-release1.7.5.jar')

compile files('libs/locSDK_4.2.jar')

compile files('libs/umeng-analytics-v5.5.3.jar')

compile files('libs/zxing.jar')

}

where are the problems? and now I can't find the "try again" button in AS,how can I try again?

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值