New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.9.5版本patch补丁包在小米手机上合成失败问题 #804

Closed
bufferoverflowexception opened this Issue Mar 29, 2018 · 7 comments

Comments

Projects
None yet
7 participants
@bufferoverflowexception

bufferoverflowexception commented Mar 29, 2018

异常类型:patch补丁包合成失败

手机型号:红米Note3, 小米6

手机系统版本:Android 6.0, Android 7

tinker版本:1.9.5

gradle版本:3.0.1

是否使用热更新SDK: 是,TinkerPatch SDK

系统:Mac

使用的是TinkerPatch SDK 版本1.2.5, 内置的tinker版本是1.9.5 ,在小米手机上面负责合成的 job service启动失败,经测试两台小米手机均失败,换了另外一台三星手机成功,所以确定是跟系统有关,跟接入没有关系(起初以为是接入步骤有问题) logcat下面看到负责合成的服务被系统拒绝了

03-29 11:13:22.900 1620-2065/? I/AutoStartManagerService: MIUILOG- Reject service :Intent { cmp=com.xx.xxx.xxx.test/com.tencent.tinker.lib.service.TinkerPatchService$JobServiceRunner } userId : 0 uid : 10214
03-29 11:13:22.901 1620-2065/? D/JobSchedulerService: Error executing 236..:[ComponentInfo{com.xx.xxx.xxxx.test/com.tencent.tinker.lib.service.TinkerPatchService$JobServiceRunner},jId=1,u0,suid=10214,R=(-00:05,none),N=0,C=false,I=false,U=false,F=0,P=false,ANI=true,DND=true(READY)]

@tomystang tomystang added the bug label Mar 29, 2018

@tomystang

This comment has been minimized.

Collaborator

tomystang commented Mar 29, 2018

MIUI的自启动权限会限制JobScheduler的运行,好坑……
你试试在安全中心-授权管理-自启动权限里把你的app的自启动权限打开,应该就正常了。

@bufferoverflowexception

This comment has been minimized.

bufferoverflowexception commented Mar 29, 2018

MIUI真坑 。。暂时选择退回1.9.2版本了

@zwJeff

This comment has been minimized.

zwJeff commented Apr 13, 2018

总算找到原因了,纠结了一天

@hqzxzwb

This comment has been minimized.

hqzxzwb commented Jun 7, 2018

1.9.6仍然复现 @tomystang

@EnternalRain

This comment has been minimized.

EnternalRain commented Jun 14, 2018

mi 6 ,os 8.0.0, tinker 1.9.6
还是复现。在没有打开app的自启动权限的情况下

@simpleton

This comment has been minimized.

Contributor

simpleton commented Jun 26, 2018

@tomystang tomystang closed this Jul 3, 2018

@yezhiren1991

This comment has been minimized.

yezhiren1991 commented Jul 3, 2018

mix2s 1.9.8还是不行啊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment