RobertApikyan / SegmentedControl

Android SegmentedControl + multi row support
Apache License 2.0
162 stars 30 forks source link

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

Closed Atepheh closed 5 years ago

Atepheh commented 5 years ago

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 commented 5 years ago

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

Atepheh commented 5 years ago

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

RobertApikyan commented 5 years ago

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.