Reputation:
I'm using
google
, mavenCentral
and jcenter
included in allprojects
in build.gradle
fileand i want to use constraintLayout:1.1.3
in my project but i got this error
Unable to resolve dependency for ':app@release/compileClasspath': Could not
resolve com.android.support.constraint:constraint-layout:1.1.3
Any help would be really appreciated!
Thanks
Upvotes: 2
Views: 4941
Reputation: 609
Try to useimplementation 'com.android.support.constraint:constraint-layout:1.1.3'
.
Also try to preform clean -> build and if it'll not work, try to make clean->invalidate caches/restart->build.
Upvotes: 1