![](/img/trans.png)
[英]how to add ApiFuture interface to android project with gradle
[英]Is it possible to use ApiFuture in Gradle, Android project?
我目前正在尝试使用“ApiFuture”,因为在整个大项目中使用任务很痛苦。 有什么方法可以在我的 android 项目中使用 ApiFutures? 我在网上搜索过,但没有找到任何东西。 如果该信息有帮助,Gradle 支持 Android 项目。 谢谢!
您可以使用此implementation
repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.api-client:google-api-client:1.25.0'
}
有关更多信息,您可以查看Google Api 客户端库,如果您想要一个示例,请查看此firebase-asynchronous-operations-with-admin-java-sdk-82ca9b4f6022 ,这家伙正在使用ApiFuture
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.