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 你们自己项目的镜像依赖地址