Skip to content
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

知乎热更新导致模块失效 #2

Closed
shatyuka opened this issue Nov 9, 2020 · 4 comments
Closed

知乎热更新导致模块失效 #2

shatyuka opened this issue Nov 9, 2020 · 4 comments
Labels
bug Something isn't working

Comments

@shatyuka
Copy link
Owner

shatyuka commented Nov 9, 2020

No description provided.

@VeroFess
Copy link

VeroFess commented Dec 4, 2020

目前我自己发现的解决方法

下载Lucky Patcher并安装 -> 选择 "知乎" -> 更改应用组件 -> 更改权限和活动项 -> 拖到最下面, 把所有 com.tencent.tinker 开头的都禁用(即点成红色) -> 点击"重建应用",之后去系统设置中 完全清除所有数据,再次使用就不会被热更骚扰了

@VeroFess
Copy link

VeroFess commented Dec 4, 2020

啊吧, 是我输了, 方案2.0

ADB Shell 上去之后,拿到root权限, 把/data/data/com.zhihu.android/tinker目录里的文件全都删了,然后给这个目录设置一个你喜欢的权限,理论上可以根治

@shatyuka
Copy link
Owner Author

shatyuka commented Dec 5, 2020

啊吧, 是我输了, 方案2.0

ADB Shell 上去之后,拿到root权限, 把/data/data/com.zhihu.android/tinker目录里的文件全都删了,然后给这个目录设置一个你喜欢的权限,理论上可以根治

@VeroFess 我是想保留热更新,拿到tinker的classloader进行hook

@shatyuka
Copy link
Owner Author

shatyuka commented Dec 6, 2020

Fixed in commit 46ec30c.

@shatyuka shatyuka closed this as completed Dec 6, 2020
@shatyuka shatyuka added the bug Something isn't working label Mar 25, 2021
@qqyc qqyc mentioned this issue Apr 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants