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' }
    }
}
相关推荐
wangruofeng43 分钟前
一个 Markdown 文件攒下 37k 星,i-have-adhd 给 AI 输出立了 10 条规矩
github·aigc·ai编程
怕浪猫2 小时前
长会话不崩盘:DeepSeek Harness 的上下文压缩与目标管理策略
面试·github·agent
DogDaoDao3 小时前
SimToolReal 解读:用“物体中心“视角重新定义灵巧工具操作
人工智能·机器人·github·关键点·人形机器人·gpt-4o·simtoolreal
一航jason3 小时前
Android平台推理框架及试用场景模型对比
android·人工智能·ai·架构·ai编程·llama
一航jason3 小时前
Android 端侧大模型推理框架对比
android·人工智能·ai·ai编程·llama·ai-native
新时代牛马4 小时前
cyclictest 毛刺从哪来?从ftrace、latencytop、perf到IRQ/调度延迟定位
android·开发语言·python·kotlin
光电的一只菜鸡6 小时前
为什么调整LSC会对AF产生影响
android·开发语言·kotlin
凛_Lin~~6 小时前
LiveData 源码解析
android·安卓·livedata
hai_android7 小时前
FusibleFlow:Kotlin Flow 的融合机制原理
android·kotlin
99316667 小时前
一个人用 AI 的困局:它从不反对你,所以我让 5 个 AI 开了场圆桌会议
github·deepseek