GitHub 依赖下载失败:版本号带 v

GitHub 依赖下载失败:版本号带 v

 
  • 报错:Failed to resolve com.github.stfalcon-studio:StfalconImageViewer:v1.0.1
  • 原因:com.github依赖的版本号不能带 v(JitPack 仅识别纯数字版本)
  • 解决:去掉版本号前的 v:
    gradle
     
     
    implementation 'com.github.stfalcon-studio:StfalconImageViewer:1.0.1'
posted on 2026-01-19 15:51  wp7ers  阅读(1)  评论(0)    收藏  举报