2 回答

TA貢獻1880條經驗 獲得超4個贊
com.afollestad:ason:1.4.16
位于:
https://repo.spring.io/libs-release/com/afollestad/ason/1.4.16/
您需要在repositories
列表中再添加一個存儲庫:
maven { url 'https://repo.spring.io/libs-release' }
下一次,這個答案是由以下人找到的:
谷歌
com.afollestad:ason:1.4.16
單擊
com.afollestad ? ason ? 1.4.16 - Maven Repository
搜索結果鏈接閱讀注釋:
注意:這個工件位于 Spring Lib Release 存儲庫(https://repo.spring.io/libs-release/)

TA貢獻1789條經驗 獲得超10個贊
好的:
您的 Gradle 構建失敗,因為它找不到此依賴項:
compile group: 'com.afollestad', name: 'ason', version: '1.4.16'
谷歌快速搜索證實它似乎可以在 MavenRepository 上使用:
https://mvnrepository.com/artifact/com.afollestad/ason/1.4.6
但同一個鏈接顯示您需要將其添加到您的 build.gradle 中:
注意:這個工件位于 Spring Plugins 存儲庫(https://repo.spring.io/plugins-release/)
所以改變這個:
repositories {
jcenter()
mavenCentral()
maven {
url 'https://jitpack.io'
}
maven {
url 'https://repo.spring.io/plugins-release/'
}
添加回答
舉報