小编Dan*_*ele的帖子

与Firebase相关的Android清单合并错误

当我尝试构建我的应用程序时出现此错误:

在AndroidManifest.xml:24处将activity#com.google.firebase.auth.internal.FederatedSignInActivity@android:launchMode标记为可替换其他声明,但没有其他声明存在应用程序主清单(此文件),第23行

我认为这与我导入的Firebase库有关。在我的清单中,我与android:launchMode没有任何关系。知道我该如何解决吗?

多谢你们!

android manifest firebase

5
推荐指数
0
解决办法
990
查看次数

Android Google Drive API 异常:403 禁止

我正在开发一个可以访问 Google Drive 上用户的 appdata 文件夹的应用程序。当我处于调试模式时,该应用程序运行良好。当我发布应用程序并尝试连接到 Google Drive 时,在选择要连接的帐户后,它会出现此错误:

com.google.api.client.googleapis.json.GoogleJsonResponseException: 
403 Forbidden 
{
   "errors" : [ {
      "domain" : "global",
      "reason" : "insufficientScopes",
      "message" : "The granted scopes do not give access to all of the requested spaces.",
      "locationType" : "parameter",
      "location" : "spaces"
   } ],
      "code" : 403,
      "message" : "The granted scopes do not give access to all of the requested spaces."
}
Run Code Online (Sandbox Code Playgroud)

我用这种方式连接到Google Drive:https://developers.google.com/drive/v3/web/quickstart/android

我还在 Google Dev Console 中制作了一份用于调试的凭据和一份用于发布模式的凭据。

我怎么解决这个问题?任何帮助都是值得赞赏的。谢谢朋友们!

api android credentials drive

3
推荐指数
1
解决办法
1348
查看次数

标签 统计

android ×2

api ×1

credentials ×1

drive ×1

firebase ×1

manifest ×1