有没有办法了解安装错误代码的实际含义? [英] Is there a way to understand what install error codes actually mean?

查看:26
本文介绍了有没有办法了解安装错误代码的实际含义?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试应用程序内更新功能,但我收到了失败的安装状态和 -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

我正在生成一个版本代码较低的 apk,与 Google Play 中的版本代码相同,并使用相同的签名密钥进行签名.

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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆