- mongodb - 在 MongoDB mapreduce 中,如何展平值对象?
- javascript - 对象传播与 Object.assign
- html - 输入类型 ="submit"Vs 按钮标签它们可以互换吗?
- sql - 使用 MongoDB 而不是 MS SQL Server 的优缺点
这种情况时有发生,在 Google 的示例应用 (https://github.com/googlesamples/google-services/tree/master/android/appinvites) 中也是如此。应用已安装在设备上,但不是打开应用,而是“安装”链接:
这些是来自 Marshamallow 的日志(似乎 Google apis 返回了一些 401):
09-10 08:14:12.692 795-813/? I/ActivityManager﹕ Displayed
com.google.android.gms/.appinvite.AppInviteAcceptInvitationActivity: +92ms
09-10 08:14:12.714 23045-23082/? E/Surface﹕ getSlotFromBufferLocked: unknown buffer: 0xa96e4530
09-10 08:14:12.752 795-804/? I/art﹕ Background partial concurrent mark sweep GC freed 599(43KB) AllocSpace objects, 0(0B) LOS objects, 30% free, 35MB/51MB, paused 2.199ms total 171.864ms
09-10 08:14:12.875 23045-23093/? E/Volley﹕ [20360] BasicNetwork.performRequest: Unexpected response code 401 for https://www.googleapis.com/plusdatamixer/v1/mutateonekey?alt=proto&key=AIzaSyAP-gfH3qvi6vgHZbSYwQ_XHqV_mXHhzIk
09-10 08:14:12.876 23045-23110/? E/AppInviteAgent﹕ Error communicating with server com.android.volley.AuthFailureError
09-10 08:14:12.896 795-1943/? I/ActivityManager﹕ START u0 {act=android.intent.action.VIEW dat=https://plus.google.com/... flg=0x14000000 cmp=com.google.android.gms/.appinvite.AppInviteAcceptInvitationActivity} from uid 10011 on display 0
09-10 08:14:12.978 23045-23112/? W/BaseAppContext﹕ Using Auth Proxy for data requests.
09-10 08:14:13.024 1731-1731/? I/Keyboard.Facilitator﹕ onFinishInput()
09-10 08:14:13.047 795-813/? I/ActivityManager﹕ Displayed com.google.android.gms/.appinvite.AppInviteAcceptInvitationActivity: +88ms
09-10 08:14:13.070 23045-23082/? E/Surface﹕ getSlotFromBufferLocked: unknown buffer: 0xa96e4580
09-10 08:14:13.108 795-804/? I/art﹕ Background partial concurrent mark sweep GC freed 676(64KB) AllocSpace objects, 1(20KB) LOS objects, 30% free, 35MB/51MB, paused 2.421ms total 188.050ms
09-10 08:14:13.174 23045-23091/? E/Volley﹕ [20358] BasicNetwork.performRequest: Unexpected response code 401 for https://www.googleapis.com/plusdatamixer/v1/mutateonekey?alt=proto&key=AIzaSyAP-gfH3qvi6vgHZbSYwQ_XHqV_mXHhzIk
09-10 08:14:13.175 23045-23112/? E/AppInviteAgent﹕ Error communicating with server com.android.volley.AuthFailureError
09-10 08:14:13.184 795-3345/? I/ActivityManager﹕ START u0 {act=android.intent.action.VIEW dat=https://plus.google.com/... flg=0x14000000 cmp=com.google.android.gms/.appinvite.AppInviteAcceptInvitationActivity} from uid 10011 on display 0
09-10 08:14:13.266 23045-23081/? W/BaseAppContext﹕ Using Auth Proxy for data requests.
09-10 08:14:13.307 1731-1731/? I/Keyboard.Facilitator﹕ onFinishInput()
09-10 08:14:13.318 795-813/? I/ActivityManager﹕ Displayed com.google.android.gms/.appinvite.AppInviteAcceptInvitationActivity: +86ms
09-10 08:14:13.343 23045-23082/? E/Surface﹕ getSlotFromBufferLocked: unknown buffer: 0xa96e4530
09-10 08:14:13.387 795-804/? I/art﹕ Background partial concurrent mark sweep GC freed 604(43KB) AllocSpace objects, 0(0B) LOS objects, 30% free, 35MB/51MB, paused 3.115ms total 181.567ms
09-10 08:14:13.480 23045-23092/? E/Volley﹕ [20359] BasicNetwork.performRequest: Unexpected response code 401 for https://www.googleapis.com/plusdatamixer/v1/mutateonekey?alt=proto&key=AIzaSyAP-gfH3qvi6vgHZbSYwQ_XHqV_mXHhzIk
09-10 08:14:13.481 23045-23081/? E/AppInviteAgent﹕ Error communicating with server com.android.volley.AuthFailureError
09-10 08:14:13.491 795-1194/? I/ActivityManager﹕ START u0 {act=android.intent.action.VIEW dat=https://plus.google.com/... flg=0x14000000 cmp=com.google.android.gms/.appinvite.AppInviteAcceptInvitationActivity} from uid 10011 on display 0
09-10 08:14:13.543 23045-23098/? W/BaseAppContext﹕ Using Auth Proxy for data requests.
09-10 08:14:13.590 1731-1731/? I/Keyboard.Facilitator﹕ onFinishInput()
09-10 08:14:13.609 795-813/? I/ActivityManager﹕ Displayed com.google.android.gms/.appinvite.AppInviteAcceptInvitationActivity: +80ms
更多日志:
09-10 08:35:58.327 2148-2728/? E/MDM﹕ [145] b.run: Couldn't connect to Google API client: ConnectionResult{statusCode=API_UNAVAILABLE, resolution=null}
09-10 08:35:58.332 19279-22527/? D/LocationInitializer﹕ Restart initialization of location
09-10 08:35:58.335 22495-22495/? I/GAv4-SVC﹕ Google Analytics 7.9.53 is starting up.
09-10 08:35:58.338 795-1268/? I/AccountManagerService﹕ getTypesVisibleToCaller: isPermitted? true
09-10 08:35:58.355 22495-22526/? D/NativeLibraryUtils﹕ Install completed successfully.
09-10 08:35:58.384 22495-22534/? D/OpenGLRenderer﹕ Use EGL_SWAP_BEHAVIOR_PRESERVED: true
09-10 08:35:58.447 22495-22533/? W/BaseAppContext﹕ Using Auth Proxy for data requests.
09-10 08:35:58.460 22495-22533/? I/GLSUser﹕ [ChannelManager] Attempting to channel bind connection HttpClient.
09-10 08:35:58.467 22495-22534/? I/Adreno-EGL﹕ <qeglDrvAPI_eglInitialize:379>: QUALCOMM Build: 08/12/15, 70b1c55, I9e0bc0c0ce
09-10 08:35:58.479 22495-22533/? I/GLSUser﹕ [ChannelManager] Checking whether channelId is enabled. isEnabledGmsCore? false, isEnabledSdk? true, isAtLeastKitKat? true
09-10 08:35:58.484 22495-22534/? I/OpenGLRenderer﹕ Initialized EGL, version 1.4
09-10 08:35:58.521 1731-1731/? I/Keyboard.Facilitator﹕ onFinishInput()
09-10 08:35:58.539 795-813/? I/ActivityManager﹕ Displayed com.google.android.gms/.appinvite.AppInviteAcceptInvitationActivity: +368ms (total +399ms)
09-10 08:35:58.597 22495-22537/? W/System.err﹕ java.lang.Exception: Error converting session
09-10 08:35:58.599 22495-22537/? W/System.err﹕ at com.google.android.gms.org.conscrypt.a.log(SourceFile:302)
09-10 08:35:58.599 22495-22537/? W/System.err﹕ at com.google.android.gms.org.conscrypt.a.toSession(SourceFile:268)
09-10 08:35:58.599 22495-22537/? W/System.err﹕ at com.google.android.gms.org.conscrypt.ClientSessionContext.getSession(SourceFile:87)
09-10 08:35:58.599 22495-22537/? W/System.err﹕ at com.google.android.gms.org.conscrypt.SSLParametersImpl.getCachedClientSession(SourceFile:709)
09-10 08:35:58.599 22495-22537/? W/System.err﹕ at com.google.android.gms.org.conscrypt.SSLParametersImpl.getSessionToReuse(SourceFile:376)
09-10 08:35:58.599 22495-22537/? W/System.err﹕ at com.google.android.gms.org.conscrypt.OpenSSLSocketImpl.startHandshake(SourceFile:294)
09-10 08:35:58.599 22495-22537/? W/System.err﹕ at com.google.android.gms.common.net.SSLCertificateSocketFactory.a(SourceFile:258)
09-10 08:35:58.599 22495-22537/? W/System.err﹕ at com.google.android.gms.common.net.SSLCertificateSocketFactory.createSocket(SourceFile:558)
09-10 08:35:58.599 22495-22537/? W/System.err﹕ at com.android.okhttp.internal.http.SocketConnector.connectTls(SocketConnector.java:89)
09-10 08:35:58.599 22495-22537/? W/System.err﹕ at com.android.okhttp.Connection.connect(Connection.java:143)
09-10 08:35:58.599 22495-22537/? W/System.err﹕ at com.android.okhttp.Connection.connectAndSetOwner(Connection.java:185)
09-10 08:35:58.599 22495-22537/? W/System.err﹕ at com.android.okhttp.OkHttpClient$1.connectAndSetOwner(OkHttpClient.java:128)
09-10 08:35:58.599 22495-22537/? W/System.err﹕ at com.android.okhttp.internal.http.HttpEngine.nextConnection(HttpEngine.java:341)
09-10 08:35:58.599 22495-22537/? W/System.err﹕ at com.android.okhttp.internal.http.HttpEngine.connect(HttpEngine.java:330)
09-10 08:35:58.599 22495-22537/? W/System.err﹕ at com.android.okhttp.internal.http.HttpEngine.sendRequest(HttpEngine.java:248)
09-10 08:35:58.599 22495-22537/? W/System.err﹕ at com.android.okhttp.internal.huc.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:433)
09-10 08:35:58.599 22495-22537/? W/System.err﹕ at com.android.okhttp.internal.huc.HttpURLConnectionImpl.connect(HttpURLConnectionImpl.java:114)
09-10 08:35:58.599 22495-22537/? W/System.err﹕ at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getOutputStream(HttpURLConnectionImpl.java:245)
09-10 08:35:58.599 22495-22537/? W/System.err﹕ at com.android.okhttp.internal.huc.DelegatingHttpsURLConnection.getOutputStream(DelegatingHttpsURLConnection.java:218)
09-10 08:35:58.599 22495-22537/? W/System.err﹕ at com.android.okhttp.internal.huc.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java)
09-10 08:35:58.599 22495-22537/? W/System.err﹕ at com.google.android.gms.http.GoogleHttpClient.a(SourceFile:933)
09-10 08:35:58.599 22495-22537/? W/System.err﹕ at com.google.android.gms.http.GoogleHttpClient.a(SourceFile:775)
09-10 08:35:58.599 22495-22537/? W/System.err﹕ at com.google.android.gms.http.GoogleHttpClient.execute(SourceFile:676)
09-10 08:35:58.599 22495-22537/? W/System.err﹕ at com.google.android.gms.http.GoogleHttpClient.execute(SourceFile:660)
09-10 08:35:58.600 22495-22537/? W/System.err﹕ at com.android.volley.toolbox.HttpClientStack.performRequest(SourceFile:87)
09-10 08:35:58.600 22495-22537/? W/System.err﹕ at com.google.android.gms.auth.be.d.performRequest(SourceFile:43)
09-10 08:35:58.600 22495-22537/? W/System.err﹕ at com.android.volley.toolbox.BasicNetwork.performRequest(SourceFile:96)
09-10 08:35:58.600 22495-22537/? W/System.err﹕ at com.google.android.gms.common.server.v.performRequest(SourceFile:48)
09-10 08:35:58.600 22495-22537/? W/System.err﹕ at com.android.volley.NetworkDispatcher.run(SourceFile:112)
09-10 08:35:58.600 22495-22537/? W/System.err﹕ Caused by: java.io.IOException: Invalid session data
09-10 08:35:58.603 22495-22537/? W/System.err﹕ at com.google.android.gms.org.conscrypt.OpenSSLSessionImpl.<init>(SourceFile:88)
09-10 08:35:58.603 22495-22537/? W/System.err﹕ at com.google.android.gms.org.conscrypt.a.toSession(SourceFile:267)
09-10 08:35:58.603 22495-22537/? W/System.err﹕ ... 27 more
此外 - 几个小时后它会开始工作一段时间。然后它就会停止。
配置详情:
dependencies {
classpath 'com.android.tools.build:gradle:1.3'
classpath 'com.google.gms:google-services:1.3.0'
}
//...
compile 'com.google.android.gms:play-services-base:7.8.0'
compile 'com.google.android.gms:play-services-appinvite:7.8.0'
//...
targetSdkVersion 22
最佳答案
你应该验证你用来做应用邀请的链接
关于android - AppInvites "Install"链接无法打开应用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32494505/
通过 Google 手册实现 Google AppInvite - link . 启动 Invite Activity 并在 LogCat 中获取下一步: E/AppInviteAgent: Get
我们应用程序的 build.gradle 的一部分是这样的: tasks.withType(com.android.build.gradle.tasks.PackageApplication) { p
这种情况时有发生,在 Google 的示例应用 (https://github.com/googlesamples/google-services/tree/master/android/appinv
您好,我遇到了这个问题,当我尝试从我的 android 应用程序发送 facebook appinvites 时,它永远卡在这个白色对话框中: .我已经在模拟器和真实设备中尝试过,但它一直在做同样的事
Firebase AppInvite 已被弃用,我必须更新代码。 库:com.google.firebase:firebase-invites:11.6.2 代码: private void h
我正在尝试实现 AppInvites。我已经完成了这里写的所有步骤 https://firebase.google.com/docs/invites/android 并且不断得到RESULT_CODE
出于某种原因,我不断收到 AppInvite 对话框的错误... 通过 documentation 为 iOS9 设置 info.plist 之后,在项目上设置所有 Facebook 的参数,我得到调
我想尝试来自 firebase 的应用程序邀请 - 不幸的是 onActivityResult 报告 onActivityResult 3。仅使用本文档中的代码:https://firebase.go
我正在使用谷歌图书馆 classpath 'com.google.gms:google-services:1.3.0' 而我的appinvite库版本是 compile 'com.google.a
我在我的 android 应用程序中使用 Google Appinvite Api 向 friend 发送邀请。 我能够发送请求并且它工作正常。但我想跟踪我通过我的应用向其发送请求的 friend 。
我有兴趣将 Google 的新 AppInvites 集成到我的 iOS 应用程序中。有一些问题...我目前正在使用 googleplus-ios-sdk pod,似乎我无法将 AppInvites
我正在开发一个iOS应用程序,我必须在其中邀请Facebook friend ,为此我正在使用Facebook SDK 4.0新功能this链接。 我可以获得 friend 列表,选择一个 frien
我在 Android 版 Facebook SDK 中使用 AppInvite 对话框。问题是 AppInvite 发送到的最终用户/ friend 没有收到推送通知。尽管通知出现在 Facebook
Branch 有很好的示例说明如何在 Swift 中使用 AppLinks 创建深层链接,但我找不到任何有关如何在 Swift 中创建 Facebook 的 AppInvites 的示例。有人这样做过
我在我的应用程序中使用 GPP 登录,使用最新的 GPP pod 作为 pod 'google-plus-ios-sdk',现在我想在我的应用程序中邀请 Google App。为此,我添加了第一个 p
已结束。此问题不符合 Stack Overflow guidelines .它目前不接受答案。 这个问题似乎与 help center 中定义的范围内的编程无关。 . 关闭 7 年前。 Improve
我是一名优秀的程序员,十分优秀!