Google Drive Authorization在Android SDK上返回错误403 usageLimits<;14

Google Drive Authorization在Android SDK上返回错误403 usageLimits<;14,android,google-drive-api,google-api-java-client,Android,Google Drive Api,Google Api Java Client,我在Android应用程序中使用Google Drive API: private Drive buildService(final GoogleCredential credentials) { return new Drive.Builder(AndroidHttp.newCompatibleTransport(), new GsonFactory(), credentials) .build(); } 使用accountMana

我在Android应用程序中使用Google Drive API:

private Drive buildService(final GoogleCredential credentials) {

        return new Drive.Builder(AndroidHttp.newCompatibleTransport(), new GsonFactory(), credentials)
                .build();

    }
使用accountManager获取凭据。它在安卓4.0及以上版本上运行良好。我可以获取/插入/删除文件等。在下面的Android 4.0上运行时,它总是返回:

"error": {
  "errors": [
   {
    "domain": "usageLimits",
    "reason": "dailyLimitExceededUnreg",
    "message": "Daily Limit Exceeded. Please sign up",
    "extendedHelp": "https://code.google.com/apis/console"
   }
  ],
  "code": 403,
  "message": "Daily Limit Exceeded. Please sign up"
 }
}

这是兼容性问题吗?我使用的是最新的驱动器api和谷歌api库(1.14.1)。谢谢。

您应该在API控制台的“服务”选项卡上启用“Google Drive API”:

我已经启用了,代码在ICS上运行良好。403错误只发生在ICS之前的系统上。它至少可以在2.3.x中正常工作。您是否仍在使用同一证书签署apk?