java - 尝试构建 Android-SimpleLocation 时出现错误“无法确定构造函数参数 #1:缺少 Factory 类型的参数...”
问题描述
尝试构建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'
推荐阅读
- node.js - 如何注销验证用户
- asp.net-mvc - 路由配置不带参数
- formatting - 提取具有与内容相关联的样式的word文档
- c# - 不支持 Xamarin 反射 Assembly.LoadFile
- java - 如何在 Windows 上增加 Tomcat 堆内存
- camunda - 在 Camunda 嵌入式表单中,如何指定绑定的变量范围?
- javascript - 使用日期列在 Google App 脚本中创建表
- java - 将 Spring bean 分配给不受 Spring 管理的字段
- jakarta-ee - Payara / Glassfish 5 上所需的持久性单元
- code-coverage - 源和对象位于不同目录时的覆盖率报告