1
我嘗試以下these instructions所以我的build.gradle(應用程序)的相關部分看起來是這樣的:如何使用gradle從jitpack.io導入庫?
buildscript {
repositories {
maven { url 'https://maven.fabric.io/public' }
maven { url 'https://jitpack.io' }
}
compile 'com.github.qiugang:EditTag:v1.2.3'
但Android Studio中仍顯示此錯誤消息:
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
您是否缺少放置'compile'的'dependencies {}部分? –
不,我只是沒有把它粘貼在這裏 –