Android 开发问题:Could not find com.github.PicnicSupermarket:FingerPaintView:1.2.

复制代码
implementation 'com.github.PicnicSupermarket:FingerPaintView:1.2'
问题原因
  1. 这个错误表示项目引入的依赖 FingerPaintView 无法从当前的配置的仓库中找到,即无法从阿里云 Maven 仓库、Google Maven 仓库、Maven Central 仓库中找到

  2. FingerPaintView 是一个 GitHub 上的依赖,需要在项目中添加 JitPack 仓库

  3. JitPack 是专门用来拉取 GitHub(以及 GitLab、Bitbucket 等)上开源项目作为依赖的仓库服务

处理策略
  • settings.gradle 文件中添加 JitPack 仓库
groovy 复制代码
dependencyResolutionManagement {
    repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
    repositories {
        ...

        maven { url 'https://jitpack.io' }
    }
}
相关推荐
行走__Wz1 小时前
本地项目初次上传到GitHub教程
github
CoderJia程序员甲1 小时前
GitHub 热榜项目 - 周榜(2026-05-31)
ai·大模型·llm·github·ai教程
zandy10113 小时前
Hermes Agent 2026年6月最新安装教程
docker·github·agent
黄林晴3 小时前
Google Play 全面进化:AI 驱动增长,从上架到收入全链路重构
android·google
qq3621967053 小时前
Android 12/13/14/15 Google Play 兼容性检查指南:设备不兼容怎么办?2026最新解决方案
android·gitee
韩曙亮4 小时前
【错误记录】flutter attach 附加设备 执行报错 ( 附加设备注意事项 )
android·javascript·flutter·flutter attach
科技道人4 小时前
Launcher allapps界面顶部推荐的app
git·github·launcher·allapps
Soari4 小时前
从零训练 LLM:解析 GitHub 开源项目 train-llm-from-scratch
github·llm训练·从零训练大模型