0

How would I solve this problem where the dependency can't be found? I have the library on my PC, I just don't know how to import it into my project.

enter image description here

Thanks!

SJ19
  • 1,933
  • 6
  • 35
  • 68
  • 1
    You need to configure it in your Gradle dependencies and then hit the Gradle refresh button. – cjstehno Feb 26 '16 at 13:58
  • @cjstehno how do I configure my gradle dependencies? I can't find it anywhere – SJ19 Feb 26 '16 at 14:00
  • 1
    Your build.gradle file -- sounds like you have some reading to do: https://docs.gradle.org/current/userguide/userguide.html – cjstehno Feb 26 '16 at 14:23
  • @cjstehno I added this to my build.gradle http://i.imgur.com/hehzv7M.png but I still have no idea how to remove the faulty lib from the list. – SJ19 Feb 26 '16 at 18:49
  • If you are trying to remove the dependency and you did not explicitly add it, it's probably being brought in by one of your explicit dependencies.. you can run `gradle dependencies` to see which libraries bring in what and then you can exclude the transitive dependencies that you don't want. – cjstehno Feb 26 '16 at 19:31
  • Actually, from looking at the image you shared... you are explicitly bringing in that dependency, so just remove that line and it should go away. Also, why dont they have "groups"? – cjstehno Feb 26 '16 at 19:32

0 Answers0