gpt4 book ai didi

android - 没有可用于离线模式的 androidx.databinding :databinding-compiler:3. 4.2 的缓存版本

转载 作者:行者123 更新时间:2023-12-03 05:27:18 26 4
gpt4 key购买 nike

这个问题在这里已经有了答案:





no cached version available for offline mode

(11 个回答)


2年前关闭。




无法确定任务的依赖关系 :app:compileDebugJavaWithJavac.

> Could not resolve all task dependencies for configuration ':app:debugAnnotationProcessorClasspath'.
> Could not resolve androidx.databinding:databinding-compiler:3.4.2.
Required by:
project :app
> No cached version of androidx.databinding:databinding-compiler:3.4.2 available for offline mode.
> No cached version of androidx.databinding:databinding-compiler:3.4.2 available for offline mode.
> No cached version of androidx.databinding:databinding-compiler:3.4.2 available for offline mode.

最佳答案

在 Android Studio 中取消选中“离线工作”:

File -> Settings -> Gradle -> Global Gradle Settings



或在 OSX 中:

Preferences -> Gradle -> Global Gradle Setting

关于android - 没有可用于离线模式的 androidx.databinding :databinding-compiler:3. 4.2 的缓存版本,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/60808458/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com