java - 尝试构建 Android-SimpleLocation 时出现错误 "Unable to determine constructor argument #1: missing parameter of type Factory.... "

标签 java android gradle android-gradle-plugin build.gradle

在尝试构建 Android-SimpleLocation 时,我收到以下错误:

Unable to determine constructor argument #1: missing parameter of type Factory, or no service of type Factory<LoggingManagerInternal>.
Open File (which is a link to my build.gradle file)

有什么想法吗?

最佳答案

您正在使用以下依赖项,

classpath 'com.github.dcendents:android-maven-gradle-plugin:1.3'

使用以下或更高版本更新这些内容。

classpath 'com.github.dcendents:android-maven-gradle-plugin:1.5'

关于java - 尝试构建 Android-SimpleLocation 时出现错误 "Unable to determine constructor argument #1: missing parameter of type Factory.... ",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/62722283/

相关文章:

java - android-market 检索空结果

java - AsyncTask - 未经检查的调用执行(Params...)

java - 以编程方式更改 Eclipse 项目设置

java - 如何强制 while 循环一次执行一个可运行程序。

android - 如何在 Canvas 上画一个半椭圆

java - 仅当我使用 jlink 组装应用程序后运行应用程序时,Flyway 才无法在类路径中找到迁移

java - 在 Pageable 中传递到 Spring Controller 的排序将方向附加到属性名称,导致 SQL 错误

java - ImageView只显示在listview的最后一行

android - 更改 native 应用程序中的包名称

android - 如何在 Gradle 构建后启动 .bat 文件。从 .bat 签名并重新安装应用程序