如何解决Android Studio 找不到、下载、附加代码源
我想查看 CoroutineWorker (androidx.work:work-runtime-ktx:2.2.0
) 类代码源,但 android studio(已尝试版本:4.1.3 和更小版本)显示了反编译版本:
当我点击下载源时,Gradle 显示这样的错误:
FAILURE: Build failed with an exception.
* Where:
Initialization script '/tmp/ijmiscinit4.gradle' line: 20
* What went wrong:
Execution failed for task ':app:DownloadSources'.
> Could not resolve all files for configuration ':app:downloadSources_2108a026-03c6-4d30-a902-3a53b9d5d155'.
> Could not find androidx.work:work-runtime-ktx:2.2.0@aar.
Required by:
project :app
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 1s
你能帮助我在这里做错什么吗?
第二个问题:即使下载了源代码,AndroidStudio 仍然不会附加它们,here 我已经详细描述了该问题。
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。