KunMinX / Jetpack-MVVM-Best-Practice

难得一见 Jetpack MVVM 最佳实践!在 "以简驭繁" 代码中,对 "视图控制器" 乃至 "标准化开发模式" 形成正确、深入理解!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Could not resolve all dependencies for configuration ':architecture:_internal_aapt2_binary'

yanghaozhang opened this issue · comments

clone下来无法正常运行,关了翻墙也还是这样,是我的环境的问题吗?

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':architecture:compileDebugLibraryResources'.
> Could not resolve all dependencies for configuration ':architecture:_internal_aapt2_binary'.
   > org.apache.commons.logging.LogConfigurationException: No suitable Log constructor [Ljava.lang.Class;@23c916c2 for org.apache.commons.logging.impl.Log4JLogger (Caused by java.lang.NoClassDefFoundError: org/apache/log4j/Category) (Caused by org.apache.commons.logging.LogConfigurationException: No suitable Log constructor [Ljava.lang.Class;@23c916c2 for org.apache.commons.logging.impl.Log4JLogger (Caused by java.lang.NoClassDefFoundError: org/apache/log4j/Category))

* 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 6s

@yanghaozhang
gradle 中已配置了通过 aliyun 镜像下载依赖,
可以试试 copy 你们自己项目的镜像依赖地址