Cannot find a version of 'com.google.code.findbugs:jsr305' that satisfies the version constraints

后端 未结 6 1284
佛祖请我去吃肉
佛祖请我去吃肉 2021-01-02 03:58

When generated signed APK for realse i get this error message:

Cannot find a version of \'com.google.code.findbugs:jsr305\' that satisfies the version constr         


        
6条回答
  •  独厮守ぢ
    2021-01-02 04:41

    I had a similar problem today and found this : https://github.com/trello/RxLifecycle/issues/154

    Manged to fix my problem by editing the Gradle Scripts build.gradle in the (module:app) under dependancies adding :

    androidTestImplementation 'com.google.code.findbugs:jsr305:1.3.9'
    

    I originally tried a different version number but got an error that told me what version to use, so you may need to have a couple of tries.

提交回复
热议问题