lulee007 / Xitu

参考官方客户端『掘金』,本项目仅仅用户学习目的,在Android Studio下使用单元测试,以及使用开源库Rxjava + Retrofit 等进行快速开发
93 stars 24 forks source link

Could not find im.fir:gradle-fir-publisher:1.0.0 #2

Open songsh opened 7 years ago

songsh commented 7 years ago

so on

songsh commented 7 years ago

like : Error:(90, 13) Failed to resolve: com.mikepenz:materialdrawer:4.6.2 Show in File
Show in Project Structure dialog

Error:(95, 13) Failed to resolve: com.mikepenz:materialdrawer:4.6.2 Show in File
Show in Project Structure dialog

Error:(94, 13) Failed to resolve: com.marshalchen.ultimaterecyclerview:library:0.3.18 Show in File
Show in Project Structure dialog

Error:(79, 17) Failed to resolve: org.mockito:mockito-core:1.10.19 Show in File
Show in Project Structure dialog

Error:(84, 18) Failed to resolve: com.squareup.leakcanary:leakcanary-android:1.5 Show in File
Show in Project Structure dialog

lulee007 commented 7 years ago

@songsh
try im.fir:gradle-fir-publisher:1.0.7

在项目的 build.gradle(Top-level build.gradle,项目最外层的 build.gradle 文件)中添加,例如:

buildscript {
repositories {
jcenter()
//添加fir maven源
maven {
url "http://maven.bughd.com/public"
}
...
}
dependencies {
classpath 'com.android.tools.build:gradle:2.2.0'
//添加fir插件依赖
classpath 'im.fir:gradle-fir-publisher:1.0.7'
}
}