- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我正在 android studio 中创建一个 android 应用程序。我正在向我的项目中添加一个库,该库是从 here 下载的.当我将此库添加到我的项目时,它显示了一个名为 的错误“错误:(2, 0) 未找到 ID 为 'com.github.dcendents.android-maven' 的插件。” .请告诉我如何修复它。
最佳答案
在顶级 build.gradle 依赖项中,粘贴此类路径。
我想知道为什么我不能在网站上看到这种方法。
无论如何,我使用这种方式修复了它。
dependencies {
//YOUR DEPEDENCIES
classpath 'com.github.dcendents:android-maven-plugin:1.2'
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.2'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
关于maven - 如何修复未找到 ID 为 'com.github.dcendents.android-maven' 的插件。在安卓工作室,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28871084/
我在我的 Android 应用程序中使用这个库。 ( https://github.com/yazeed44/MultiImagePicker ) 之前,我是这样将它添加到我的项目中的: compil
我正在 android studio 中创建一个 android 应用程序。我正在向我的项目中添加一个库,该库是从 here 下载的.当我将此库添加到我的项目时,它显示了一个名为 的错误“错误:(2,
我使用以下库将 Material 设计添加到我的 android 项目 https://github.com/navasmdc/MaterialDesignLibrary 但是将其作为模块导入后,出现
我试图在 Github 上建立公共(public)图书馆。 我在 gradles 上放了一些关键字。 -------------(build.gradle) 用于模块----------------
我是一名优秀的程序员,十分优秀!