Gradle only downloads .aar.asc from Maven Central

前端 未结 2 986
南笙
南笙 2021-01-28 16:14

I freshly deployed an Android library named TypedPreferences. I used it in another Android project for some days. Suddenly, it stopped working - dependencies cannot be f

2条回答
  •  鱼传尺愫
    2021-01-28 16:50

    Also, you always can force the type of artifact to download. Just add dependency like:

    compile "group:artifact:version@type"
    

    And in your case it will be

    compile "info.metadude.android:typed-preferences:1.0.0@aar"
    

    That's it.

提交回复
热议问题