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</a>
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?