i have upgraded my gradel to 3.1 studio, and after that i am not able to sync my project
org.gradle.internal.resolve.ArtifactNotFoundException: Could not find leakcanary-watcher.jar (com.squareup.leakcanary:leakcanary-watcher:1.5.4)
even though i have added the gradel dependency for leakCanary like this::
//Leak Canary
debugImplementation 'com.squareup.leakcanary:leakcanary-android:1.5.4'
releaseImplementation 'com.squareup.leakcanary:leakcanary-android-no-op:1.5.4'
am i doing something wrong ??? Please help!
Try version 1.5.3, see if you can
nope , the gradel is now laughing at me !!!
Showing me this
org.gradle.internal.resolve.ArtifactNotFoundException: Could not find haha.jar (com.squareup.haha:haha:2.0.3)
Dupe of #952. Use mavenCentral() which is where we publish the library.
allprojects {
repositories {
mavenCentral()
google()
jcenter()
}
}
ok
I am using the central repo. i use it by default since a lot lib are their only . the Problem didn't solved .
if you are using LeakCanary Please try updating the Studio gradel to 3.1. i was using canary and it all was working well and good until i updated my studio to 3.1.
I am having this issue as well. Still tinkering around trying to solve it. Let me know if you make any progress.
Most helpful comment
Dupe of #952. Use
mavenCentral()which is where we publish the library.