我正在试用 Android Studio。我想在我的项目中使用 Drive API。在eclipse中,有一个Google Plugin for Eclipse,但是Android Studio呢?到目前为止有人试过吗?
最佳答案
您可以在下面找到 Google Drive (2014.12.28) 的最新版本:
//Google Drive API
compile 'com.google.android.gms:play-services:6.5.+'
compile 'com.google.api-client:google-api-client-xml:1.18.0-rc'
compile 'com.google.http-client:google-http-client-gson:1.18.0-rc'
compile 'com.google.api-client:google-api-client-android:1.18.0-rc'
compile 'com.google.apis:google-api-services-drive:v2-rev155-1.19.0'
要查看最新版本,请尝试以下链接:
https://developer.android.com/google/play-services/setup.html
https://code.google.com/p/google-api-java-client
https://developers.google.com/api-client-library/java/apis/drive/v2
http://mvnrepository.com/artifact/com.google.apis/google-api-services-drive
关于android - 如何在 Android Studio 中导入 Google API,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16782298/