生成APK文件时找不到'com.squareup:javawriter'的版本

时间:2019-02-11 14:19:35

标签: java android

生成APK文件时,出现以下错误:

Cannot find a version of 'com.squareup:javawriter' that satisfies the version constraints: 
   Dependency path 'MocKaraoke:app:unspecified' --> 'com.android.support.test.espresso:espresso-core:2.2.2' --> 'com.squareup:javawriter:2.1.1'
   Dependency path 'MocKaraoke:app:unspecified' --> 'com.squareup.dagger:dagger-compiler:1.0.0' --> 'com.squareup:javawriter:1.0.2'
   Constraint path 'MocKaraoke:app:unspecified' --> 'com.squareup:javawriter' strictly '1.0.2' because of the following reason: debugRuntimeClasspath uses version 1.0.2
   Constraint path 'MocKaraoke:app:unspecified' --> 'com.squareup:javawriter' strictly '1.0.2' because of the following reason: debugRuntimeClasspath uses version 1.0.2
   Constraint path 'MocKaraoke:app:unspecified' --> 'com.squareup:javawriter' strictly '1.0.2' because of the following reason: debugRuntimeClasspath uses version 1.0.2
   Constraint path 'MocKaraoke:app:unspecified' --> 'com.squareup:javawriter' strictly '1.0.2' because of the following reason: debugRuntimeClasspath uses version 1.0.2

我该如何解决?请帮助我,谢谢

0 个答案:

没有答案