我正在尝试添加此依赖项
在Android应用中com.github.scottyab:showhidepasswordedittext:0.6.
。在构建项目时,我批判性地出现此错误
Error:A problem occurred configuring project ':app'.
> Could not resolve all dependencies for configuration ':app:_debugApkCopy'.
> Could not find com.github.scottyab:showhidepasswordedittext:0.6.
Required by:
push:app:unspecified
请问我做错了什么。请帮助
答案 0 :(得分:0)
最新版本的依赖是:
dependencies {
compile 'com.github.scottyab:showhidepasswordedittext:0.8'
}
并且忘记在项目级maven
文件中添加build.gradle
repo
allprojects {
repositories {
maven {
url "https://jitpack.io"
}
}
}
了解更多信息check here