-1

I am new for Github. Just now i have created a sample library project and uploaded on github. Now i want to use this library in my project but i am not able to import it.As it is throwing error

Failed to resolve: com.github.mopa11:MainDemo1:1.0.0. 

I referred to this and this, but still am not able to import.

Community
  • 1
  • 1
Swapnil
  • 135
  • 1
  • 10

1 Answers1

0

Having your library hosted on Github does NOT make it available automatically. You need to either release it first, or try to use tools like http://jitpack.io/

Marcin Orlowski
  • 72,056
  • 11
  • 123
  • 141
  • https://jitpack.io/com/github/mopa11/MainDemo1/1.0.0/build.log maybe error while building can u help e out with it – Swapnil Mar 17 '16 at 11:16