I tried following these instructions so the related parts of my build.gradle (app) looks like this:
buildscript {
repositories {
maven { url 'https://maven.fabric.io/public' }
maven { url 'https://jitpack.io' }
}
compile 'com.github.qiugang:EditTag:v1.2.3'
but Android Studio still displays this error message:
Error:A problem occurred configuring project ':app'.
> Could not resolve all dependencies for configuration ':app:_debugApkCopy'.
> Could not find com.github.qiugang:EditTag:v1.2.3.
Required by:
myapp-yeah:app:unspecified
You modified buildscript
. The instructions show changing allprojects
:
allprojects {
repositories {
...
maven { url "https://jitpack.io" }
}
}
buildscript
is used for Gradle plugins, and this library apparently is not a Gradle plugin.