1

I am trying to compile sugar ORM to my application.But it is showing this build error.

Unable to resolve dependency for ':app@releaseUnitTest/compileClasspath': Could not resolve com.github.satyan:sugar:1.4.

How can I resolve it?Did I miss any other thing to add in gradle?

Rajesh Pandya
  • 1,540
  • 4
  • 18
  • 31
anju jo
  • 203
  • 1
  • 13

1 Answers1

0

You need to change your app module's build.gradle file from:

implementation 'com.github.satyan:sugar:1.4'

to

implementation 'com.github.satyan:sugar:1.5'

Note: You may be using compile instead. This is now deprecated.

The current version can always be seen on the repo's page.

Jake Lee
  • 7,549
  • 8
  • 45
  • 86