android Google Play应用内评论API -发布评论时出错

ttcibm8c  于 2022-11-27  发布在  Android
关注(0)|答案(2)|浏览(249)

我正在使用Google Play应用内评论API显示应用内原生评论窗口。窗口本身打开正常。但是,一旦用户实际点击“发送评论”,窗口关闭并出现以下错误:
从服务器检索信息时出错。DF-DFERH-01
这个错误可以在其他问题中找到,但是解决方法总是“清除缓存”或其他客户端错误。但是这个错误对我的所有用户都存在,不仅仅是我。
亚行:

03-26 15:32:20.973 22692 22747 E Volley  : [1211] dua.a: Unexpected response code 400 for https://play-fe.googleapis.com/fdfe/addReview?doc=tech.alloutfun.pvppuzzle&title=&content=jsjj&rating=5&itpr=false&rst=1
03-26 15:32:20.974 22692 22692 E Finsky  : [1] qmi.b(2): Error posting review: network time: 0, HTTP status code: na, exception DisplayErrorMessage[Error while retrieving information from server. DF-DFERH-01]

还有:

03-26 15:32:07.215 22692 22742 D Volley  : [1205] dua.a: HTTP response for request=<[ ] https://play-fe.googleapis.com/fdfe/allowInAppReview?doc=tech.alloutfun.pvppuzzle 0x4be64f9b NORMAL 104> [lifetime=3385], [size=52], [rc=200], [retryCount=0]
03-26 15:32:07.244 22692 22726 I System.out: Caught a exception encoding the public key: com.android.apksig.internal.asn1.Asn1DecodingException: Failed to parse dqi.a
03-26 15:32:07.244 22692 22726 W System.err: com.android.apksig.internal.asn1.Asn1DecodingException: Failed to parse dqi.a
03-26 15:32:07.245 22692 22726 W System.err:    at dpt.h(PG:13)
03-26 15:32:07.245 22692 22726 W System.err:    at dpt.f(Unknown Source:1)
03-26 15:32:07.245 22692 22726 W System.err:    at dpt.d(PG:11)
03-26 15:32:07.245 22692 22726 W System.err:    at dpt.b(PG:4)
03-26 15:32:07.246 22692 22726 W System.err:    at dpk.e(PG:3)
03-26 15:32:07.246 22692 22726 W System.err:    at kyh.T(PG:41)
03-26 15:32:07.246 22692 22726 W System.err:    at kyh.l(PG:10)
03-26 15:32:07.246 22692 22726 W System.err:    at rfa.j(PG:16)
03-26 15:32:07.246 22692 22726 W System.err:    at rfa.i(PG:24)
03-26 15:32:07.246 22692 22726 W System.err:    at jpn.call(PG:81)
03-26 15:32:07.246 22692 22726 W System.err:    at affd.a(Unknown Source:2)
03-26 15:32:07.246 22692 22726 W System.err:    at afei.run(PG:3)
03-26 15:32:07.246 22692 22726 W System.err:    at affe.run(Unknown Source:4)
03-26 15:32:07.246 22692 22726 W System.err:    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
03-26 15:32:07.246 22692 22726 W System.err:    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
03-26 15:32:07.246 22692 22726 W System.err:    at ili.run(PG:14)
03-26 15:32:07.246 22692 22726 W System.err:    at java.lang.Thread.run(Thread.java:929)
03-26 15:32:07.246 22692 22726 W System.err: Caused by: com.android.apksig.internal.asn1.Asn1BerParser$Asn1UnexpectedTagException: Tag mismatch. Expected: UNIVERSAL BIT STRING, but found UNIVERSAL SEQUENCE
03-26 15:32:07.246 22692 22726 W System.err:    at dpr.a(PG:2)
03-26 15:32:07.246 22692 22726 W System.err:    at dpt.h(PG:11)
03-26 15:32:07.246 22692 22726 W System.err:    ... 16 more
03-26 15:32:07.250 22692 22726 I System.out: Caught a exception encoding the public key: com.android.apksig.internal.asn1.Asn1DecodingException: Failed to parse dqi.a
03-26 15:32:07.250 22692 22726 W System.err: com.android.apksig.internal.asn1.Asn1DecodingException: Failed to parse dqi.a
03-26 15:32:07.250 22692 22726 W System.err:    at dpt.h(PG:13)
03-26 15:32:07.250 22692 22726 W System.err:    at dpt.f(Unknown Source:1)
03-26 15:32:07.250 22692 22726 W System.err:    at dpt.d(PG:11)
03-26 15:32:07.250 22692 22726 W System.err:    at dpt.b(PG:4)
03-26 15:32:07.250 22692 22726 W System.err:    at dpk.e(PG:3)
03-26 15:32:07.250 22692 22726 W System.err:    at bwg.i(PG:33)
03-26 15:32:07.250 22692 22726 W System.err:    at bwg.d(PG:9)
03-26 15:32:07.250 22692 22726 W System.err:    at rfa.j(PG:12)
03-26 15:32:07.250 22692 22726 W System.err:    at rfa.i(PG:27)
03-26 15:32:07.250 22692 22726 W System.err:    at jpn.call(PG:81)
03-26 15:32:07.250 22692 22726 W System.err:    at affd.a(Unknown Source:2)
03-26 15:32:07.250 22692 22726 W System.err:    at afei.run(PG:3)
03-26 15:32:07.250 22692 22726 W System.err:    at affe.run(Unknown Source:4)
03-26 15:32:07.250 22692 22726 W System.err:    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
03-26 15:32:07.250 22692 22726 W System.err:    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
03-26 15:32:07.250 22692 22726 W System.err:    at ili.run(PG:14)
03-26 15:32:07.250 22692 22726 W System.err:    at java.lang.Thread.run(Thread.java:929)
03-26 15:32:07.250 22692 22726 W System.err: Caused by: com.android.apksig.internal.asn1.Asn1BerParser$Asn1UnexpectedTagException: Tag mismatch. Expected: UNIVERSAL BIT STRING, but found UNIVERSAL SEQUENCE
03-26 15:32:07.251 22692 22726 W System.err:    at dpr.a(PG:2)
03-26 15:32:07.251 22692 22726 W System.err:    at dpt.h(PG:11)
03-26 15:32:07.251 22692 22726 W System.err:    ... 16 more

我使用的是Unity 2020.3.2f1。尝试使用R8和自定义“com.google.android.*”提供的proguard配置文件,但不起作用。关闭所有缩小功能也不会有什么不同。我已经将Google.Play库添加到link.xml。通过Google Play内部测试上传和安装构建版本。
我不知道下一步该怎么做。谷歌问题跟踪器上的问题已经关闭(不会修复,不可行),没有进一步的评论。

3duebb1j

3duebb1j1#

HanSoloYolo给出了一个与客户端无关的公认答案:https://forum.unity.com/threads/google-play-services-not-working.485322/#post-3210077
说明可能需要更新从旧的职位,我可以看到一个应用程序签名密钥证书在播放控制台在Setup-〉App integrity,这可能是SHA-1你需要的。

sczxawaw

sczxawaw2#

要修复错误代码df-dferh-01,请 checkout 给定的link

相关问题