Home > Blockchain >  I forked a project and imported it, but I cannot use it
I forked a project and imported it, but I cannot use it

Time:01-09

I'm very new to GitHub, so maybe it's something obvious, but I followed all the steps of many many websites (also the SO questions of course), but it doesn't work.


I need to change up img

Edit: I don't know if this is helpful information, but when I open the External Libraries tab in the project tab on the left of android studio, my library is not there. But it should be, right? At least, when I imported the library I'm trying to fork, I know that that library was shown there. Maybe something wrong about the way I imported my library? Or is it maybe because the library I'm trying to fork itself is a fork? So this would be a "double-fork"

CodePudding user response:

Assuming you see as error message:

Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
Could not find com.github.yalantis:ucrop:2.2.6.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/com/github/yalantis/ucrop/2.2.6/ucrop-2.2.6.pom
- https://repo.maven.apache.org/maven2/com/github/yalantis/ucrop/2.2.6/ucrop-2.2.6.pom
- https://jcenter.bintray.com/com/github/yalantis/ucrop/2.2.6/ucrop-2.2.6.pom
Required by:
project :app

Check first if this is similar to enter image description here

  1. Click the log icon, you will see the root cause:

enter image description here

  •  Tags:  
  • Related