wangchenyan / init

Android 启动任务调度
Apache License 2.0
60 stars 4 forks source link

AutoRegister 无法拉取 #4

Open KyrieCheng opened 1 month ago

KyrieCheng commented 1 month ago

在Android项目中,按照教程使用 buildscript { dependencies { classpath("com.github.wangchenyan:AutoRegister:1.4.3-beta02") } }

但是报错:Could not GET 'https://jitpack.io/com/github/wangchenyan/AutoRegister/1.4.3-beta02/AutoRegister-1.4.3-beta02.pom'. Received status code 401 from server: Unauthorized

项目设置为私有了吗? 鉴权失败了。

wangchenyan commented 1 month ago

你好,AutoRegister 不支持 AGP8+,所以 Fork 的仓库也停止维护了,可以尝试用原版 https://github.com/luckybilly/AutoRegister 后面会用 AGP8 的 API 重新开发一个字节码注入插件

KyrieCheng commented 1 month ago

感谢您的回复,我尝试使用https://github.com/luckybilly/AutoRegister release版本,但是该版本太老了,在本地工程有一些适配问题,请问有历史版本的快照地址吗?

wangchenyan commented 1 month ago

已经恢复,重新sync即可