1
我在观看Developers.Google的视频,了解如何添加Endpoint数据库。Cloud Endpoint Gradle依赖关系
端点正在工作,因为当我访问我的开发人员控制台并在浏览器中使用Api时工作正常。所以我的Java代码正在工作。我的问题是当gradle尝试同步时。
这是我的。
compile('com.gabilheri.robot.cloud:robotAPI:v1-1.17.0-rc-SNAPSHOT') {
exclude(group: 'org.apache.httpcomponents', module: 'httpclient')
}
compile('com.google.http-client:google-http-client:1.17.0-rc') {
exclude(group: 'com.google.android', module: 'android')
exclude(group: 'org.apache.httcomponents', module: 'httpclient')
}
这里是什么在video的家伙:
compile('com.google.todotxt.backend:taskApi:v1-1.17.0-rc-SNAPSHOT') {
exclude(group: 'org.apache.httpcomponents', module: 'httpclient')
}
compile('com.google.http-client:google-http-client:1.17.0-rc') {
exclude(group: 'com.google.android', module: 'android')
exclude(group: 'org.apache.httcomponents', module: 'httpclient')
}
我为我改变什么是我的包和API的名称,但我从 摇篮获取和同步错误。
在视频中,似乎android-studio自动为他完成。但是我的Android Studio没有得到Gradle AT ALL的任何代码补全。在Mac OSX上使用Android-Studio 0.54。
谢谢!
它的工作!谢谢!!现在添加存储库后,代码正在编译! :) –