有没有办法了解安装错误代码的实际含义? [英] Is there a way to understand what install error codes actually mean?
问题描述
我正在尝试应用内更新功能,但安装状态为FAILED,安装错误代码为-100.有什么办法让我知道是什么原因造成的?
I'm trying out the in-app update feature and I'm getting a FAILED install status and a -100 install error code. Is there any way for me to know what may be causing this?
我实现了灵活的应用内更新,并记录了每个步骤.遵循的Android开发者教程此处
I implemented the flexible in-app update and I'm logging each step. Followed Android devs tutorial here
我正在生成一个具有较低版本代码(如Google Play中的版本)的apk,并使用相同的签名密钥进行签名.
I'm generating an apk with a lower version code as the one in Google Play and signing using the same signing key.
2019-07-24 16:21:01 +0100 InAppUpdates [String#-666477938] [T# main] | install error : 0
2019-07-24 16:21:01 +0100 InAppUpdates [String#-666477938] [T# main] | install status : 1
2019-07-24 16:21:01 +0100 InAppUpdates [String#-666477938] [T# main] | install error : 0
2019-07-24 16:21:01 +0100 InAppUpdates [String#-666477938] [T# main] | install status : 1
2019-07-24 16:21:01 +0100 InAppUpdates [String#-666477938] [T# main] | install status : 1
2019-07-24 16:21:01 +0100 InAppUpdates [String#-666477938] [T# main] | install error : 0
2019-07-24 16:21:01 +0100 InAppUpdates [String#-666477938] [T# main] | install status : 2
2019-07-24 16:21:01 +0100 InAppUpdates [String#-666477938] [T# main] | install error : 0
2019-07-24 16:21:01 +0100 InAppUpdates [String#-666477938] [T# main] | install status : 2
2019-07-24 16:21:01 +0100 InAppUpdates [String#-666477938] [T# main] | install error : 0
2019-07-24 16:21:01 +0100 InAppUpdates [String#-666477938] [T# main] | install error : 0
2019-07-24 16:21:01 +0100 InAppUpdates [String#-666477938] [T# main] | install status : 2
2019-07-24 16:21:01 +0100 InAppUpdates [String#-666477938] [T# main] | install error : 0
2019-07-24 16:21:01 +0100 InAppUpdates [String#-666477938] [T# main] | install status : 2
2019-07-24 16:21:01 +0100 InAppUpdates [String#-666477938] [T# main] | install status : 2
2019-07-24 16:21:01 +0100 InAppUpdates [String#-666477938] [T# main] | install error : 0
2019-07-24 16:21:12 +0100 InAppUpdates [String#-666477938] [T# main] | install status : 2
2019-07-24 16:21:12 +0100 InAppUpdates [String#-666477938] [T# main] | install error : 0
2019-07-24 16:21:12 +0100 InAppUpdates [String#-666477938] [T# main] | install status : 2
2019-07-24 16:21:12 +0100 InAppUpdates [String#-666477938] [T# main] | install error : 0
2019-07-24 16:21:12 +0100 InAppUpdates [String#-666477938] [T# main] | install error : 0
2019-07-24 16:21:12 +0100 InAppUpdates [String#-666477938] [T# main] | install status : 2
2019-07-24 16:21:12 +0100 InAppUpdates [String#-666477938] [T# main] | install status : 11
2019-07-24 16:21:12 +0100 InAppUpdates [String#-666477938] [T# main] | install error : 0
2019-07-24 16:21:12 +0100 InAppUpdates [String#-666477938] [T# main] | completeUpdate was called.
2019-07-24 16:21:12 +0100 InAppUpdates [String#-666477938] [T# main] | install status : 3
2019-07-24 16:21:12 +0100 InAppUpdates [String#-666477938] [T# main] | install error : 0
2019-07-24 16:21:12 +0100 InAppUpdates [String#-594849490] [T# main] | onPause
2019-07-24 16:21:12 +0100 InAppUpdates [String#-666477938] [T# main] | install error : -100
2019-07-24 16:21:12 +0100 InAppUpdates [String#-666477938] [T# main] | install status : 5
推荐答案
从Android设置应用中清除PlayStore应用存储- 设置->应用-> Play商店->存储->清除数据
Clear the PlayStore app Storage from the Android Settings App - Settings -> Apps -> Play Store -> Storage -> clear data
此错误将消失..我不知道此错误的真正原因是什么..并且没有文档可以指导您.
and this error will disappear .. I don't what is the actual reason for this error .. and there no documentation that can guide you.
这篇关于有没有办法了解安装错误代码的实际含义?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!