froyohuang / RePlugin-AndroidX

A RePlugin branch supports AndroidX 支持AndroidX的RePlugin框架分支
111 stars 16 forks source link

项目编译报错,401,请问作者如何解决,已经解决的小伙伴可以回答下,同样问题的小伙伴请留言,引起作者重视 #19

Open myfGitup opened 3 years ago

myfGitup commented 3 years ago

项目编译报错 Could not resolve io.github.froyohuang:replugin-host-lib-androidx:2.3.3.0.

Could not get resource 'https://jitpack.io/io/github/froyohuang/replugin-host-lib-androidx/2.3.3.0/replugin-host-lib-androidx-2.3.3.0.pom'. Could not HEAD 'https://jitpack.io/io/github/froyohuang/replugin-host-lib-androidx/2.3.3.0/replugin-host-lib-androidx-2.3.3.0.pom'. Received status code 401 from server: Unauthorized

viewv commented 3 years ago

我尝试编译了RePlugin host lib 和 RePlugin plugin lib,找到了 RePlugin host Gradle plugin 但是就是我不会编译或者找到 plugin Gradle plugin

myfGitup commented 3 years ago

我尝试编译了RePlugin host lib 和 RePlugin plugin lib,找到了 RePlugin host Gradle plugin 但是就是我不会编译或者找到 plugin Gradle plugin

这个问题不好解决了,在公司电脑上,可能有缓存,不受影响,项目在新电脑上运行就是报这两个错误,捯饬几天了,还是没办法运行,你的好了吗

viewv commented 3 years ago

我尝试编译了RePlugin host lib 和 RePlugin plugin lib,找到了 RePlugin host Gradle plugin 但是就是我不会编译或者找到 plugin Gradle plugin

这个问题不好解决了,在公司电脑上,可能有缓存,不受影响,项目在新电脑上运行就是报这两个错误,捯饬几天了,还是没办法运行,你的好了吗

我就差 RePlugin plugin Gradle plugin androidx 这个gradle 插件

RyanX commented 3 years ago

把项目拉到本地运行replugin-host-library-androidx uploadArchives和replugin-plugin-gradle-androidx uploadArchives,这样能生成本地maven仓库,在使用的项目中增加maven {url uri('/Users/xxxx(你的用户名)/.m2/repository')} windows的话路径应该也差不多,不知道的话可以在rp-publish.gradle找一下