jjzjj

debugCompileClasspath

全部标签

android - Gradle error debugCompileClasspath' to contain exactly one file, however, it contains no files, 添加新的动态功能模块时

创建了一个新的动态功能模块:动态,构建失败,出现以下异常:任务“:dynamic:processDebugManifest”执行失败。Expectedconfiguration':dynamic:debugCompileClasspath'tocontainexactlyonefile,however,itcontainsnofiles.尝试将baseFeaturetrue添加到应用程序gradle,但出现错误:CouldnotfindmethodbaseFeature()forarguments[true]onobjectoftypecom.android.build.gradle.

java - 为什么将具有运行时范围的库添加到 debugCompileClasspath?

如果我将我的库添加到项目中,然后运行命令:>gradlew-qapp:dependencies--configurationdebugCompileClasspath>app_dependencies_compile.txt为什么com.github.kolyall:utils:1.0.4lib使用获取com.android.support:appcompat-v7lib(和其他)CompileClasspath中的>runtime范围?如果它们的范围应该是运行时,为什么要将它们添加到CompileClasspath?输出是:\---com.github.kolyall:utils:1

android - 错误 :Could not resolve all files for configuration ':app:debugCompileClasspath'

这是来自日志的完整消息:错误:无法解析配置“:app:debugCompileClasspath”的所有文件。Couldnotfindcom.android.support:appcompat-v7:26.1.0.Searchedinthefollowinglocations:file:/C:/Users/Anatoly/AppData/Local/Android/Sdk/extras/m2repository/com/android/support/appcompat-v7/26.1.0/appcompat-v7-26.1.0.pomfile:/C:/Users/Anatoly/Ap