Android 必知必会:Task ‘ijDownloadArtifact‘ not found in project【已解决】

关键词:Task 'ijDownloadArtifact4c876abb-f31' not found in project、Task ijDownloadArtifact、ijDownloadArtifact、Android Studio Narwhal | 2025

背景

在升级 Android Studio 到 Narwhal | 2025 版本后,点击工程中任意依赖 SDK 的代码调用处跳转到其源码后,会自动触发 Build 任务并报错:Task 'ijDownloadArtifactXXX' not found in project xxx 如下图所示:

方案

目前尚未找到没有官方明确的原因,但通过对比多方资料,验证以下方案可行:

  1. Android Studio -> Settings | Advance Settings -> 禁用 「Automatically download source for a file upon open
  2. Android Studio -> Settings | Experimental -> 启用「support for multi-variant Javadocs and Source」

如图:


如果有什么建议或者问题可以随时联系我,共同探讨学习:

相关推荐
阿pin16 小时前
Android随笔-kotlin withContext
android·kotlin·withcontext
树码小子17 小时前
开启 IDEA 中的断言功能
android·java·intellij-idea
Kslient17 小时前
HeaderBehavior
android
Android-Flutter18 小时前
android 动画详解
android·kotlin
小孔龙1 天前
GraphicBuffer 跨进程共享
android
行业研究员1 天前
Android内置GPS与腾讯地图定位技术对比分析
android·android定位·腾讯地图定位
Android-Flutter1 天前
android WMS 详解(二)
android·kotlin
游戏开发爱好者81 天前
App Store 上传 IPA 自动化,.p8 密钥认证与 CI/CD 接入实战
android·运维·ci/cd·小程序·uni-app·自动化·iphone
游戏开发爱好者81 天前
iOS 推送怎么配置,APNs 推送证书、设备库与群发
android·ios·小程序·https·uni-app·iphone·webview
阿pin1 天前
Android随笔-kotlin 高阶函数
android·kotlin·高阶函数