在Build.gradle中存在以下错误: "Could not run phased build action using connection to Gradle installation 'C:\Could not find method compile() for arguments [com.google.api-client:google-api-client:1.30.4] on objectof type org.<
突然,在运行Gradle build时,我开始得到以下错误:
Could not get unknown property 'libraries' for object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler我确实不理解咖啡因的模拟器build.gradle依赖项中的语法“实现库”。为了研究这个问题,我在Eclipse中使用
在尝试自己导入这些库之后,我终于发现我可以使用Eclipse的GooglePlugin 做到这一点。但是,我似乎找不到任何关于如何在Android上实际使用API的示例,至少没有一个是可编译的,因为这些示例中所需的类似乎不能被Eclipse解析,所以我只能假设这些类不存在于GooglePluginfor Eclipse for the URL Shortener API