我是Android Studio的新手,请耐心等待。
我正在尝试将此特定拉取请求添加到我的项目中,因为我也需要动画持续时间并且原始所有者尚未合并请求:https://github.com/81813780/AVLoadingIndicatorView/pull/74
我读到:How to compile forked library in Gradle?
我可以使用jitpack
。所以我补充说:
maven { url "https://jitpack.io" }
进入我的项目gradle文件和
试着
compile 'com.github.kizitonwose:AVLoadingIndicatorView:2.1.3'
进入我的模块gradle文件。但是当我同步gradle时,我收到错误:
Failed to resolve: com.github.kizitonwose:AVLoadingIndicatorView:2.1.3
我究竟做错了什么?
只需通过git bash
git checkout particularFork
git pull origin particularfork
git branch new_branch_where_i_use_library
如果您没有任何Github帐户,请创建一个帐户,现在分叉项目https://github.com/81813780/AVLoadingIndicatorView,然后下拉项目并在Android Studio中打开它并在代码中进行更改然后推回项目并最终创建一个版本然后利用How to compile forked library in Gradle?。
希望它可以帮到你。