jitpack / jitpack.io

Documentation and issues of https://jitpack.io
MIT License
2.54k stars 186 forks source link

nested libraries #33

Open jjhesk opened 9 years ago

jjhesk commented 9 years ago

I have just touched the issue on these line:

Error:A problem occurred configuring project ':app'.
> Could not resolve all dependencies for configuration ':app:_debugCompile'.
   > Could not find com.github.jjhesk:expandableWidget:v0.21.
     Searched in the following locations:
         https://jcenter.bintray.com/com/github/jjhesk/expandableWidget/v0.21/expandableWidget-v0.21.pom
         https://jcenter.bintray.com/com/github/jjhesk/expandableWidget/v0.21/expandableWidget-v0.21.jar
         file:/Users/hesk/Library/Android/sdk/extras/android/m2repository/com/github/jjhesk/expandableWidget/v0.21/expandableWidget-v0.21.pom
         file:/Users/hesk/Library/Android/sdk/extras/android/m2repository/com/github/jjhesk/expandableWidget/v0.21/expandableWidget-v0.21.jar
         file:/Users/hesk/Library/Android/sdk/extras/google/m2repository/com/github/jjhesk/expandableWidget/v0.21/expandableWidget-v0.21.pom
         file:/Users/hesk/Library/Android/sdk/extras/google/m2repository/com/github/jjhesk/expandableWidget/v0.21/expandableWidget-v0.21.jar
     Required by:
         DropDownBoxUi:app:unspecified > DropDownBoxUi:lib:unspecified
jjhesk commented 9 years ago

What does it mean and what do i need to do to fix this. jjhesk:expandableWidget:v0.21 is on jitpack DropDownBoxUi:app:unspecified is going to be on jitpack as well.

jitpack-io commented 9 years ago

Hi. Doesn't look like its trying to download expandableWidget from jitpack. Perhaps the repository isn't added? Is your project on Github?

jjhesk commented 9 years ago

it is added.

jjhesk commented 9 years ago

so i have issued the lib on this compile 'com.github.jjhesk:DropDownBoxUi:v0.04' and it is not being resolved..


Error:(148, 13) Failed to resolve: com.github.jjhesk:DropDownBoxUi:v0.04
<a href="openFile">Show in File</a><br><a href="open.dependency.in.project.structure">Show in Project Structure dialog</a>

what is the problem here. The tracking website in here https://jitpack.io/#jjhesk/DropDownBoxUi/v0.04 it is not being downloaded. can u tell what happened here?

jjhesk commented 9 years ago

this https://github.com/jjhesk/DropDownBoxUi and this https://github.com/jjhesk/expandableWidget

jitpack-io commented 9 years ago

Probably need to move repository: https://github.com/jjhesk/DropDownBoxUi/pull/1

jjhesk commented 9 years ago

I updated and release again on https://jitpack.io/#jjhesk/DropDownBoxUi/0.05-beta. I got the same error again: Error:(148, 13) Failed to resolve: com.github.jjhesk:DropDownBoxUi:0.05-beta Show in File
Show in Project Structure dialog

jitpack-io commented 9 years ago

Hard to say without seeing your build file where you use compile 'com.github.jjhesk:DropDownBoxUi:0.05-beta'. Could you post it on gist or github

jjhesk commented 9 years ago

I got it working, because I was not making aar. Instead I was using the script to make jar.

jitpack-io commented 9 years ago

:+1:

jjhesk commented 9 years ago

but still, the error message is wrong. it needs to be fixed so that people will not have to suggest around.