Couldn't find com.android.support:appcompat-v7:25.3.1 in android studio?
I am trying to add floating search view
library to my android app. After adding dependencies, I got:
Error:Could not find com.android.support:appcompat-v7:25.3.1.
Required by:
project :app
Please install the Android Support Repository from the Android SDK Manager.
So, I added the following dependencies to my Gradle
file module :
compile 'com.android.support:appcompat-v7:25.3.1'
compile 'com.android.support:design:25.3.1'
compile 'com.android.support:multidex:1.0.1'
compile 'com.android.support:percent:25.3.1'
compile 'com.android.support:support-v4:25.3.1'
compile 'com.android.support:support-v13:25.3.1'
After syncing the file, Gradle
I got the same error. Then I clean up the project and https://github.com/arimorty/floatingsearchview Invalidate cache
to the project, but the same answer.
Mine has been Android Studio
updated and set to API level 25.
What am I doing wrong here?
Gradle file
(Gradle file edit after suggestion)
android {
compileSdkVersion 25
buildToolsVersion '25.0.3'
defaultConfig {
applicationId "com.app.seeker"
minSdkVersion 21
targetSdkVersion 25
versionCode 1
multiDexEnabled true
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
Any help would be appreciated
+3
source to share