Open songsh opened 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
@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' } }
so on