GSYVideoPlayer icon indicating copy to clipboard operation
GSYVideoPlayer copied to clipboard

遇到 jitpack 丢包,找不到依赖的看这里, Unable to find jitpack dependencies. See here

Open CarGuo opened this issue 6 months ago • 14 comments

中文

目前有三种托管方式,详细可见 README :

  • MavenCentral : 11.0.0 版本以后才有,所有基类包都发布托管在这里
  • Github Package : 9.1.0 版本开始才有, 但是 11.0.0 之前, GSYIjkJava 的基础依赖还是在托管在 jitpack
  • Jitpack IO :依然会发布,但是存在托管平台随机丢包

面对 jitpack 平台一直出现随机丢包问题,这里主要通过增加 gitee 平台的包来二次打包做 backup ,也推荐使用 README 里说的 github package 的版本,虽然依赖麻烦,但是至少不会丢包。

首先要确定某个依赖是否丢包,比如 gsyvideoplayer-aliplay 拉不下来,可以通过链接判断,例如查看链接:https://jitpack.io/com/github/CarGuo/GSYVideoPlayer/gsyvideoplayer-aliplay/v10.2.0/ 确认是否存在文件:

Image

链接规则

build.log

由于不同版本之间,可能存在一些版本名称的大小写问题,例如 gsyVideoPlayerGSYVideoPlayergsyvideoplayer 的差异,所以当你发现丢包时,要确定在看链接时,使用的是你当前版本的大小写

不确定大小写是否正确的,可以通过 https://jitpack.io/com/github/CarGuo/GSYVideoPlayerbuild.log,拖到底部查看对应版本包构建路径和名称,例如:

  • v10.2.0 版本的 build.log 是: https://jitpack.io/com/github/CarGuo/GSYVideoPlayer/v10.2.0/build.log
  • v9.0.0-release-jitpack 版本的 build.log 是: https://jitpack.io/com/github/CarGuo/GSYVideoPlayer/v9.0.0-release-jitpack/build.log
  • 8.3.3 版本的 build.log 是: https://jitpack.io/com/github/CarGuo/GSYVideoPlayer/8.4.0/build.log

包链接规则

v9.0.0-release-jitpack(包含)之前的是 https://jitpack.io/ 加下方路径,版本号用自己的,比如 https://jitpack.io/com/github/CarGuo/GSYVideoPlayer/GSYVideoPlayer-exo2/v9.0.0-release-jitpack :

com/github/CarGuo/GSYVideoPlayer/gsyVideoPlayer-base/v9.0.0-release-jitpack

com/github/CarGuo/GSYVideoPlayer/GSYVideoPlayer-exo2/v9.0.0-release-jitpack

com/github/CarGuo/GSYVideoPlayer/gsyVideoPlayer-x86/v9.0.0-release-jitpack

com/github/CarGuo/GSYVideoPlayer/gsyVideoPlayer-x64/v9.0.0-release-jitpack

com/github/CarGuo/GSYVideoPlayer/gsyVideoPlayer-arm64/v9.0.0-release-jitpack

com/github/CarGuo/GSYVideoPlayer/GSYVideoPlayer/v9.0.0-release-jitpack

com/github/CarGuo/GSYVideoPlayer/gsyVideoPlayer-java/v9.0.0-release-jitpack

com/github/CarGuo/GSYVideoPlayer/GSYVideoPlayer-aliplay/v9.0.0-release-jitpack

com/github/CarGuo/GSYVideoPlayer/gsyVideoPlayer-armv7a/v9.0.0-release-jitpack

com/github/CarGuo/GSYVideoPlayer/gsyVideoPlayer-ex_so/v9.0.0-release-jitpack

com/github/CarGuo/GSYVideoPlayer/gsyVideoPlayer-armv5/v9.0.0-release-jitpack

com/github/CarGuo/GSYVideoPlayer/gsyvideoplayer-androidvideocache/v9.0.0-release-jitpack

10.0.0 之后的版本是 https://jitpack.io/ 加下方路径,版本号用你需要的,比如 https://jitpack.io/com/github/CarGuo/GSYVideoPlayer/gsyvideoplayer-java/v10.2.0 :

Files: 
com/github/CarGuo/GSYVideoPlayer/gsyvideoplayer-java/v10.2.0

com/github/CarGuo/GSYVideoPlayer/gsyvideoplayer/v10.2.0

com/github/CarGuo/GSYVideoPlayer/gsyvideoplayer-androidvideocache/v10.2.0

com/github/CarGuo/GSYVideoPlayer/gsyvideoplayer-arm64/v10.2.0

com/github/CarGuo/GSYVideoPlayer/gsyvideoplayer-exo2/v10.2.0

com/github/CarGuo/GSYVideoPlayer/gsyvideoplayer-x86/v10.2.0

com/github/CarGuo/GSYVideoPlayer/gsyvideoplayer-x64/v10.2.0

com/github/CarGuo/GSYVideoPlayer/gsyvideoplayer-base/v10.2.0

com/github/CarGuo/GSYVideoPlayer/gsyvideoplayer-armv5/v10.2.0

com/github/CarGuo/GSYVideoPlayer/gsyvideoplayer-ex_so/v10.2.0

com/github/CarGuo/GSYVideoPlayer/gsyvideoplayer-armv7a/v10.2.0

com/github/CarGuo/GSYVideoPlayer/gsyvideoplayer-aliplay/v10.2.0

Gitee 备份包

当你发现 jitpack 上的 github 路径包找不到了,就可以试试用 gitee 路径的

比如 10.2.0 默认包是:

com.github.CarGuo.GSYVideoPlayer:gsyvideoplayer-java:v10.2.0
com.github.CarGuo.GSYVideoPlayer:gsyvideoplayer:v10.2.0
com.github.CarGuo.GSYVideoPlayer:gsyvideoplayer-androidvideocache:v10.2.0
com.github.CarGuo.GSYVideoPlayer:gsyvideoplayer-arm64:v10.2.0
com.github.CarGuo.GSYVideoPlayer:gsyvideoplayer-exo2:v10.2.0
com.github.CarGuo.GSYVideoPlayer:gsyvideoplayer-x86:v10.2.0
com.github.CarGuo.GSYVideoPlayer:gsyvideoplayer-x64:v10.2.0
com.github.CarGuo.GSYVideoPlayer:gsyvideoplayer-base:v10.2.0
com.github.CarGuo.GSYVideoPlayer:gsyvideoplayer-armv5:v10.2.0
com.github.CarGuo.GSYVideoPlayer:gsyvideoplayer-ex_so:v10.2.0
com.github.CarGuo.GSYVideoPlayer:gsyvideoplayer-armv7a:v10.2.0
com.github.CarGuo.GSYVideoPlayer:gsyvideoplayer-aliplay:v10.2.0

那么可以将 com.github 替换为 com.gitee 试试:

com.gitee.CarGuo.GSYVideoPlayer:gsyvideoplayer-aliplay:v10.2.0
com.gitee.CarGuo.GSYVideoPlayer:gsyvideoplayer-armv5:v10.2.0
com.gitee.CarGuo.GSYVideoPlayer:gsyvideoplayer-base:v10.2.0
com.gitee.CarGuo.GSYVideoPlayer:gsyvideoplayer-arm64:v10.2.0
com.gitee.CarGuo.GSYVideoPlayer:gsyvideoplayer-exo2:v10.2.0
com.gitee.CarGuo.GSYVideoPlayer:gsyvideoplayer-x64:v10.2.0
com.gitee.CarGuo.GSYVideoPlayer:gsyvideoplayer-x86:v10.2.0
com.gitee.CarGuo.GSYVideoPlayer:gsyvideoplayer-java:v10.2.0
com.gitee.CarGuo.GSYVideoPlayer:gsyvideoplayer-androidvideocache:v10.2.0
com.gitee.CarGuo.GSYVideoPlayer:gsyvideoplayer-ex_so:v10.2.0
com.gitee.CarGuo.GSYVideoPlayer:gsyvideoplayer-armv7a:v10.2.0
com.gitee.CarGuo.GSYVideoPlayer:gsyvideoplayer:v10.2.0

比如 v9.0.0-release-jitpack 默认包是:

com.github.CarGuo.GSYVideoPlayer:gsyVideoPlayer-base:v9.0.0-release-jitpack
com.github.CarGuo.GSYVideoPlayer:GSYVideoPlayer-exo2:v9.0.0-release-jitpack
com.github.CarGuo.GSYVideoPlayer:gsyVideoPlayer-x86:v9.0.0-release-jitpack
com.github.CarGuo.GSYVideoPlayer:gsyVideoPlayer-x64:v9.0.0-release-jitpack
com.github.CarGuo.GSYVideoPlayer:gsyVideoPlayer-arm64:v9.0.0-release-jitpack
com.github.CarGuo.GSYVideoPlayer:GSYVideoPlayer:v9.0.0-release-jitpack
com.github.CarGuo.GSYVideoPlayer:gsyVideoPlayer-java:v9.0.0-release-jitpack
com.github.CarGuo.GSYVideoPlayer:GSYVideoPlayer-aliplay:v9.0.0-release-jitpack
com.github.CarGuo.GSYVideoPlayer:gsyVideoPlayer-armv7a:v9.0.0-release-jitpack
com.github.CarGuo.GSYVideoPlayer:gsyVideoPlayer-ex_so:v9.0.0-release-jitpack
com.github.CarGuo.GSYVideoPlayer:gsyVideoPlayer-armv5:v9.0.0-release-jitpack
com.github.CarGuo.GSYVideoPlayer:gsyvideoplayer-androidvideocache:v9.0.0-release-jitpack

可以替换为:

com.gitee.CarGuo.GSYVideoPlayer:GSYVideoPlayer-aliplay:v9.0.0-release-jitpack
com.gitee.CarGuo.GSYVideoPlayer:gsyVideoPlayer-armv5:v9.0.0-release-jitpack
com.gitee.CarGuo.GSYVideoPlayer:gsyvideoplayer-androidvideocache:v9.0.0-release-jitpack
com.gitee.CarGuo.GSYVideoPlayer:gsyVideoPlayer-armv7a:v9.0.0-release-jitpack
com.gitee.CarGuo.GSYVideoPlayer:gsyVideoPlayer-base:v9.0.0-release-jitpack
com.gitee.CarGuo.GSYVideoPlayer:gsyVideoPlayer-java:v9.0.0-release-jitpack
com.gitee.CarGuo.GSYVideoPlayer:GSYVideoPlayer-exo2:v9.0.0-release-jitpack
com.gitee.CarGuo.GSYVideoPlayer:gsyVideoPlayer-x86:v9.0.0-release-jitpack
com.gitee.CarGuo.GSYVideoPlayer:gsyVideoPlayer-x64:v9.0.0-release-jitpack
com.gitee.CarGuo.GSYVideoPlayer:gsyVideoPlayer-arm64:v9.0.0-release-jitpack
com.gitee.CarGuo.GSYVideoPlayer:gsyVideoPlayer-ex_so:v9.0.0-release-jitpack
com.gitee.CarGuo.GSYVideoPlayer:GSYVideoPlayer:v9.0.0-release-jitpack

EN

There are currently three hosting methods, as detailed in the README:

  • MavenCentral: Only available after version 11.0.0, all base class packages are released and hosted here
  • Github Package: It was only available in version 9.1.0, but before 11.0.0, the basic dependencies of GSYIjkJava were still hosted on jitpack
  • Jitpack IO: It will still be released, but there may be random packet loss on the hosting platform

Link Rules

Addressing Random Packet Loss Issues on the JitPack Platform

To address the recurring issue of random packet loss on the JitPack platform, we primarily rely on secondary packaging through the Gitee platform as a backup. It is also recommended to use the GitHub Package version mentioned in the README, which, although more complex to set up, avoids packet loss issues.

To determine if a dependency is experiencing packet loss, such as gsyvideoplayer-aliplay failing to download, you can verify by checking the link, for example: https://jitpack.io/com/github/CarGuo/GSYVideoPlayer/gsyvideoplayer-aliplay/v10.2.0/ to confirm if the file exists.

Image

build.log

Due to potential case sensitivity issues in version names, such as gsyVideoPlayer, GSYVideoPlayer, or gsyvideoplayer, when encountering packet loss, ensure the link you are checking matches the case of your current version.

If you are unsure about the correct case, you can check the build.log at https://jitpack.io/com/github/CarGuo/GSYVideoPlayer. Drag to the bottom to view the corresponding version package build path and name, For example:

  • For version v10.2.0, the build.log is: https://jitpack.io/com/github/CarGuo/GSYVideoPlayer/v10.2.0/build.log
  • For version v9.0.0-release-jitpack, the build.log is: https://jitpack.io/com/github/CarGuo/GSYVideoPlayer/v9.0.0-release-jitpack/build.log
  • For version 8.3.3, the build.log is: https://jitpack.io/com/github/CarGuo/GSYVideoPlayer/8.4.0/build.log

Package Link Rules

For versions up to and including v9.0.0-release-jitpack, use https://jitpack.io/ followed by the paths below, replacing the version number with the one you need, e.g., https://jitpack.io/com/github/CarGuo/GSYVideoPlayer/GSYVideoPlayer-exo2/v9.0.0-release-jitpack:

com/github/CarGuo/GSYVideoPlayer/gsyVideoPlayer-base/v9.0.0-release-jitpack
com/github/CarGuo/GSYVideoPlayer/GSYVideoPlayer-exo2/v9.0.0-release-jitpack
com/github/CarGuo/GSYVideoPlayer/gsyVideoPlayer-x86/v9.0.0-release-jitpack
com/github/CarGuo/GSYVideoPlayer/gsyVideoPlayer-x64/v9.0.0-release-jitpack
com/github/CarGuo/GSYVideoPlayer/gsyVideoPlayer-arm64/v9.0.0-release-jitpack
com/github/CarGuo/GSYVideoPlayer/GSYVideoPlayer/v9.0.0-release-jitpack
com/github/CarGuo/GSYVideoPlayer/gsyVideoPlayer-java/v9.0.0-release-jitpack
com/github/CarGuo/GSYVideoPlayer/GSYVideoPlayer-aliplay/v9.0.0-release-jitpack
com/github/CarGuo/GSYVideoPlayer/gsyVideoPlayer-armv7a/v9.0.0-release-jitpack
com/github/CarGuo/GSYVideoPlayer/gsyVideoPlayer-ex_so/v9.0.0-release-jitpack
com/github/CarGuo/GSYVideoPlayer/gsyVideoPlayer-armv5/v9.0.0-release-jitpack
com/github/CarGuo/GSYVideoPlayer/gsyvideoplayer-androidvideocache/v9.0.0-release-jitpack

For versions after 10.0.0, use https://jitpack.io/ followed by the paths below, replacing the version number with the one you need, e.g., https://jitpack.io/com/github/CarGuo/GSYVideoPlayer/gsyvideoplayer-java/v10.2.0:

com/github/CarGuo/GSYVideoPlayer/gsyvideoplayer-java/v10.2.0
com/github/CarGuo/GSYVideoPlayer/gsyvideoplayer/v10.2.0
com/github/CarGuo/GSYVideoPlayer/gsyvideoplayer-androidvideocache/v10.2.0
com/github/CarGuo/GSYVideoPlayer/gsyvideoplayer-arm64/v10.2.0
com/github/CarGuo/GSYVideoPlayer/gsyvideoplayer-exo2/v10.2.0
com/github/CarGuo/GSYVideoPlayer/gsyvideoplayer-x86/v10.2.0
com/github/CarGuo/GSYVideoPlayer/gsyvideoplayer-x64/v10.2.0
com/github/CarGuo/GSYVideoPlayer/gsyvideoplayer-base/v10.2.0
com/github/CarGuo/GSYVideoPlayer/gsyvideoplayer-armv5/v10.2.0
com/github/CarGuo/GSYVideoPlayer/gsyvideoplayer-ex_so/v10.2.0
com/github/CarGuo/GSYVideoPlayer/gsyvideoplayer-armv7a/v10.2.0
com/github/CarGuo/GSYVideoPlayer/gsyvideoplayer-aliplay/v10.2.0

Gitee Backup Packages

If the GitHub path package on JitPack is not found, try using the Gitee path as an alternative.

For example, for version 10.2.0, the default packages are:

com.github.CarGuo.GSYVideoPlayer:gsyvideoplayer-java:v10.2.0
com.github.CarGuo.GSYVideoPlayer:gsyvideoplayer:v10.2.0
com.github.CarGuo.GSYVideoPlayer:gsyvideoplayer-androidvideocache:v10.2.0
com.github.CarGuo.GSYVideoPlayer:gsyvideoplayer-arm64:v10.2.0
com.github.CarGuo.GSYVideoPlayer:gsyvideoplayer-exo2:v10.2.0
com.github.CarGuo.GSYVideoPlayer:gsyvideoplayer-x86:v10.2.0
com.github/CarGuo.GSYVideoPlayer:gsyvideoplayer-x64:v10.2.0
com.github/CarGuo.GSYVideoPlayer:gsyvideoplayer-base:v10.2.0
com.github.CarGuo.GSYVideoPlayer:gsyvideoplayer-armv5:v10.2.0
com.github/CarGuo.GSYVideoPlayer:gsyvideoplayer-ex_so:v10.2.0
com.github.CarGuo.GSYVideoPlayer:gsyvideoplayer-armv7a:v10.2.0
com.github.CarGuo.GSYVideoPlayer:gsyvideoplayer-aliplay:v10.2.0

You can replace com.github with com.gitee to try:

com.gitee.CarGuo.GSYVideoPlayer:gsyvideoplayer-aliplay:v10.2.0
com.gitee.CarGuo.GSYVideoPlayer:gsyvideoplayer-armv5:v10.2.0
com.gitee.CarGuo.GSYVideoPlayer:gsyvideoplayer-base:v10.2.0
com.gitee.CarGuo.GSYVideoPlayer:gsyvideoplayer-arm64:v10.2.0
com.gitee.CarGuo.GSYVideoPlayer:gsyvideoplayer-exo2:v10.2.0
com.gitee.CarGuo.GSYVideoPlayer:gsyvideoplayer-x64:v10.2.0
com.gitee.CarGuo.GSYVideoPlayer:gsyvideoplayer-x86:v10.2.0
com.gitee.CarGuo.GSYVideoPlayer:gsyvideoplayer-java:v10.2.0
com.gitee.CarGuo.GSYVideoPlayer:gsyvideoplayer-androidvideocache:v10.2.0
com.gitee.CarGuo.GSYVideoPlayer:gsyvideoplayer-ex_so:v10.2.0
com.gitee.CarGuo.GSYVideoPlayer:gsyvideoplayer-armv7a:v10.2.0
com.gitee.CarGuo.GSYVideoPlayer:gsyvideoplayer:v10.2.0

For example, for version v9.0.0-release-jitpack, the default packages are:

com.github.CarGuo.GSYVideoPlayer:gsyVideoPlayer-base:v9.0.0-release-jitpack
com.github.CarGuo.GSYVideoPlayer:GSYVideoPlayer-exo2:v9.0.0-release-jitpack
com.github.CarGuo.GSYVideoPlayer:gsyVideoPlayer-x86:v9.0.0-release-jitpack
com.github.CarGuo.GSYVideoPlayer:gsyVideoPlayer-x64:v9.0.0-release-jitpack
com.github.CarGuo.GSYVideoPlayer:gsyVideoPlayer-arm64:v9.0.0-release-jitpack
com.github.CarGuo.GSYVideoPlayer:GSYVideoPlayer:v9.0.0-release-jitpack
com.github.CarGuo.GSYVideoPlayer:gsyVideoPlayer-java:v9.0.0-release-jitpack
com.github.CarGuo.GSYVideoPlayer:GSYVideoPlayer-aliplay:v9.0.0-release-jitpack
com.github.CarGuo.GSYVideoPlayer:gsyVideoPlayer-armv7a:v9.0.0-release-jitpack
com.github.CarGuo.GSYVideoPlayer:gsyVideoPlayer-ex_so:v9.0.0-release-jitpack
com.github.CarGuo.GSYVideoPlayer:gsyVideoPlayer-armv5:v9.0.0-release-jitpack
com.github.CarGuo.GSYVideoPlayer:gsyvideoplayer-androidvideocache:v9.0.0-release-jitpack

You can replace them with:

com.gitee.CarGuo.GSYVideoPlayer:GSYVideoPlayer-aliplay:v9.0.0-release-jitpack
com.gitee.CarGuo.GSYVideoPlayer:gsyVideoPlayer-armv5:v9.0.0-release-jitpack
com.gitee.CarGuo.GSYVideoPlayer:gsyvideoplayer-androidvideocache:v9.0.0-release-jitpack
com.gitee.CarGuo.GSYVideoPlayer:gsyVideoPlayer-armv7a:v9.0.0-release-jitpack
com.gitee.CarGuo.GSYVideoPlayer:gsyVideoPlayer-base:v9.0.0-release-jitpack
com.gitee.CarGuo.GSYVideoPlayer:gsyVideoPlayer-java:v9.0.0-release-jitpack
com.gitee.CarGuo.GSYVideoPlayer:GSYVideoPlayer-exo2:v9.0.0-release-jitpack
com.gitee.CarGuo.GSYVideoPlayer:gsyVideoPlayer-x86:v9.0.0-release-jitpack
com.gitee.CarGuo.GSYVideoPlayer:gsyVideoPlayer-x64:v9.0.0-release-jitpack
com.gitee.CarGuo.GSYVideoPlayer:gsyVideoPlayer-arm64:v9.0.0-release-jitpack
com.gitee.CarGuo.GSYVideoPlayer:gsyVideoPlayer-ex_so:v9.0.0-release-jitpack
com.gitee.CarGuo.GSYVideoPlayer:GSYVideoPlayer:v9.0.0-release-jitpack

CarGuo avatar Jul 04 '25 01:07 CarGuo

主页2种方式都尝试了,jitpack从8.4.0到10.2.0都拉不到包,Github Package 依赖方式可以拉到10.2.0的, 但是com.github.CarGuo:GSYIjkJava:1.0.0拉不到 `Cause 3: org.gradle.internal.resolve.ModuleVersionNotFoundException: Could not find com.github.CarGuo:GSYIjkJava:1.0.0. Searched in the following locations:

  • https://plugins.gradle.org/m2/com/github/CarGuo/GSYIjkJava/1.0.0/GSYIjkJava-1.0.0.pom
  • https://dl.google.com/dl/android/maven2/com/github/CarGuo/GSYIjkJava/1.0.0/GSYIjkJava-1.0.0.pom
  • https://repo.maven.apache.org/maven2/com/github/CarGuo/GSYIjkJava/1.0.0/GSYIjkJava-1.0.0.pom
  • https://maven.pkg.github.com/CarGuo/GSYVideoPlayer/com/github/CarGuo/GSYIjkJava/1.0.0/GSYIjkJava-1.0.0.pom
  • https://jitpack.io/com/github/CarGuo/GSYIjkJava/1.0.0/GSYIjkJava-1.0.0.pom
  • https://maven.aliyun.com/repository/public/com/github/CarGuo/GSYIjkJava/1.0.0/GSYIjkJava-1.0.0.pom
  • https://repo1.maven.org/maven2/com/github/CarGuo/GSYIjkJava/1.0.0/GSYIjkJava-1.0.0.pom Required by: project :app > com.shuyu:gsyvideoplayer:10.2.0 > com.shuyu:gsyvideoplayer-java:10.2.0 project :app > com.shuyu:gsyvideoplayer:10.2.0 > com.shuyu:gsyvideoplayer-java:10.2.0 > com.shuyu:gsyvideoplayer-base:10.2.0` 大佬能看看嘛

Lingzh0ng avatar Jul 08 '25 08:07 Lingzh0ng

@Lingzh0ng

1、 GSYIjkJava-v1.0.0.aar 正常,如下图和链接:

https://jitpack.io/com/github/CarGuo/GSYIjkJava/v1.0.0/GSYIjkJava-v1.0.0.aar

Image

https://jitpack.io/com/github/CarGuo/GSYIjkJava/v1.0.0/

Image

2、https://github.com/CarGuo/GSYVideoPlayer/issues/4143#issuecomment-3034045100

CarGuo avatar Jul 08 '25 08:07 CarGuo

大佬,gradle引入默认拉的是: https://jitpack.io/com/github/CarGuo/GSYIjkJava/1.0.0/GSYIjkJava-1.0.0.pom 但是实际是: https://jitpack.io/com/github/CarGuo/GSYIjkJava/v1.0.0/GSYIjkJava-v1.0.0.pom 少了一个v,所以拉不到,我测试了几个版本从8.4.0、8.6.0、10.2.0的jitpack和Github Package 依赖方式都是拉不带v的

Lingzh0ng avatar Jul 08 '25 09:07 Lingzh0ng

@Lingzh0ng 蛋疼,实际上 release 就是 1.0.0 ,但是 jitpack 又又又丢包了,还没办法重建····我先看看咋整·

Image

CarGuo avatar Jul 09 '25 01:07 CarGuo

Could not find com.github.CarGuo:GSYIjkJava:1.0.0. Searched in the following locations: - https://dl.google.com/dl/android/maven2/com/github/CarGuo/GSYIjkJava/1.0.0/GSYIjkJava-1.0.0.pom - https://repo.maven.apache.org/maven2/com/github/CarGuo/GSYIjkJava/1.0.0/GSYIjkJava-1.0.0.pom - https://jitpack.io/com/github/CarGuo/GSYIjkJava/1.0.0/GSYIjkJava-1.0.0.pom - https://repo1.maven.org/maven2/com/github/CarGuo/GSYIjkJava/1.0.0/GSYIjkJava-1.0.0.pom - https://developer.huawei.com/repo/com/github/CarGuo/GSYIjkJava/1.0.0/GSYIjkJava-1.0.0.pom - https://oss.sonatype.org/content/repositories/snapshots/com/github/CarGuo/GSYIjkJava/1.0.0/GSYIjkJava-1.0.0.pom - https://maven.aliyun.com/repository/public/com/github/CarGuo/GSYIjkJava/1.0.0/GSYIjkJava-1.0.0.pom Required by: project :app > com.gitee.CarGuo.GSYVideoPlayer:gsyVideoPlayer-java:v9.0.0-release-jitpack project :app > com.gitee.CarGuo.GSYVideoPlayer:gsyVideoPlayer-java:v9.0.0-release-jitpack > com.gitee.CarGuo.GSYVideoPlayer:gsyVideoPlayer-base:v9.0.0-release-jitpack

qiuqiutang avatar Jul 09 '25 01:07 qiuqiutang

临时解决方式,每个依赖里 exclude 掉 GSYIjkJava,单独添加 GSYIjkJava:v1.0.0

gradle :


    implementation("com.github.CarGuo.GSYVideoPlayer:gsyvideoplayer:v10.2.0") {
        exclude group: 'com.github.CarGuo:GSYIjkJava', module: 'GSYIjkJava'
    }
    implementation("com.github.CarGuo:GSYIjkJava:v1.0.0") // 替换为指定版本


kts:

    //完整版引入
    implementation("com.github.CarGuo.GSYVideoPlayer:gsyvideoplayer:v10.2.0") {
        exclude(group = "com.github.CarGuo", module = "GSYIjkJava")
    }
    implementation("com.github.CarGuo:GSYIjkJava:v1.0.0") // 替换为指定版本
Image

CarGuo avatar Jul 09 '25 02:07 CarGuo

Image按照一样的配置,还是拉不到GSYIjkJava这个包

2016admin2016 avatar Jul 09 '25 03:07 2016admin2016

我也是一样配置了还是拉不到,建议把v去了,只保留数字

Frank97129 avatar Jul 09 '25 03:07 Frank97129

临时提供 10.2.1,jitpack 平台真的时不时就抽风了

CarGuo avatar Jul 09 '25 04:07 CarGuo

通过某些骚操作方式,已经在 jitpack 补充了 1.0.0 : https://jitpack.io/com/github/CarGuo/GSYIjkJava/1.0.0/

Image

CarGuo avatar Jul 09 '25 05:07 CarGuo

还是拉不下来。

Image还是拉不到GSYIjkJava这个包

2016admin2016 avatar Jul 09 '25 06:07 2016admin2016

https://jitpack.io/com/github/CarGuo/GSYIjkJava/1.0.0/GSYIjkJava-1.0.0.aar ,如图

Image

CarGuo avatar Jul 09 '25 06:07 CarGuo

Could not get resource 'https://jitpack.io/com/github/CarGuo/GSYVideoPlayer/GSYVideoPlayer-exo2/v8.1.9-release-jitpack/GSYVideoPlayer-exo2-v8.1.9-release-jitpack.pom'. > Could not GET 'https://jitpack.io/com/github/CarGuo/GSYVideoPlayer/GSYVideoPlayer-exo2/v8.1.9-release-jitpack/GSYVideoPlayer-exo2-v8.1.9-release-jitpack.pom'. Received status code 401 from server: Unauthorized 大佬帮帮忙呢,该怎么解决呢,公司服务器打不了包了,老项目不敢轻易升级

zeplee avatar Aug 01 '25 15:08 zeplee

@zeplee https://jitpack.io/com/gitee/CarGuo/GSYVideoPlayer/gsyVideoPlayer-ex_so/v8.1.9-release-jitpack/gsyVideoPlayer-ex_so-v8.1.9-release-jitpack.aar

implementation 'com.gitee.CarGuo.GSYVideoPlayer:GSYVideoPlayer:v8.1.9-release-jitpack'

CarGuo avatar Aug 04 '25 00:08 CarGuo