0

I am pretty new to Android Studio, please bear with me.

I am trying to add this specific pull request into my project because I need the animation duration too and the original owner hasn't merged the request: https://github.com/81813780/AVLoadingIndicatorView/pull/74

I read on: How to compile forked library in Gradle?

that I can use jitpack for this. So I added:

maven { url "https://jitpack.io" }

into my Project gradle file and

tried

compile 'com.github.kizitonwose:AVLoadingIndicatorView:2.1.3'

into my module gradle file. But when I sync gradle, I get error:

Failed to resolve: com.github.kizitonwose:AVLoadingIndicatorView:2.1.3

What am I doing wrong?

Enzokie
  • 7,365
  • 6
  • 33
  • 39

2 Answers2

0

just pull it through git bash

git checkout particularFork

git pull origin particularfork

git branch new_branch_where_i_use_library

Santanu Sur
  • 10,997
  • 7
  • 33
  • 52
0

If you are not having any Github account, please create one account, now fork the project https://github.com/81813780/AVLoadingIndicatorView ,then pull down the project and open it up in Android Studio and make the changes in the code then push back the project and finally create a release then make use of How to compile forked library in Gradle?.

Hope it may help you.

Sachin Varma
  • 2,175
  • 4
  • 28
  • 39