Android的Spring官方页面提到添加以下依赖项代码。
dependencies {
compile 'org.springframework.android:spring-android:1.0.1.RELEASE'
}
这是
到目前为止的最新版本。(根据网站)我已将其添加到应用的build.gradle中,但由于出现错误
Error:Failed to find: org.springframework.android:spring-android:1.0.1.RELEASE
正确的做法是什么?我可以用相同的方式将Google Play服务添加为依赖项。
这是“休息模板”模块的正确依赖关系。我已经在Spring for Android项目页面上更正了此问题。非常感谢您指出此错误。
dependencies {
compile 'org.springframework.android:spring-android-rest-template:1.0.1.RELEASE'
}
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句