Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

got error failed to resolve :com.android.support:appcompat-v7:27.1.1 #13

Closed
Atepheh opened this issue Nov 16, 2018 · 3 comments
Closed

Comments

@Atepheh
Copy link

Atepheh commented Nov 16, 2018

when I add library to dependencies I got "failed to resolve :com.android.support:appcompat-v7:27.1.1" error.
my android compileSdkVersion is 25
buildToolsVersion is "25.0.3"

@RobertApikyan
Copy link
Owner

Do you add project level dependency ?
allprojects { repositories { ... maven { url 'https://jitpack.io' } } }

@Atepheh
Copy link
Author

Atepheh commented Nov 17, 2018

Yes I did. This is my project level dependency:
allprojects {
repositories {
jcenter()
maven { url 'https://jitpack.io' }
maven { url 'https://maven.google.com/' }
}
}

@RobertApikyan
Copy link
Owner

For now, the only solution for this, is to change target API version to last one (compileSdkVersion 28 buildToolsVersion '28.0.3'). I don't think there's any harm targeting API 28.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants