-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Android P 闪退 #115
Comments
现在才DP2,等P发布了再说。 |
遇到了同样的问题 |
现阶段 DP2 肯定 不给你修Bug,等吧 |
其实修修无妨啊,迟早要修的。。。。。。 |
支持楼上 |
@tiann API 已经 final 了。趁现在先测试兼容性,如果是 P 的 bug 及早提 issue;如果是 hidden API block,更要尽早提交解禁申述。等到 P 发布(其实基本上 DP 4就定版了)就一切晚矣... |
谢谢冯老师的建议。之前我看过Android P的闪退,是访问hidden API导致的。但是VA里面这种case太多了,google不可能把这些都解禁掉。因此我的想法是在运行时直接修改runtime(DP2上修改一个 ART 的flag就可以),绕过对hidden API的验证,我测试过这样是行得通的。不过我不清楚验证hidden API这一块后续会不会有改动,因此一直处于观望状态。 |
刚刚在第三个安卓9.0测试版中测试过,程序是可以正常运行了 |
@oasisfeng 事实上VA内部也用了好多这种trick,我觉得只能一条路走到黑。。 |
@Tabll 这是因为P上PackageParser的接口变了,需要适配。还有一些反射的API都发生了变化,比如ActivityThread中的部分类。 |
我绕过非SDK接口的方法在这里:https://github.com/tiann/FreeReflection 不过昨天公布之后,小米的开发哥哥说他要打个补丁把这玩意儿修复掉,然后upload给aosp,目测要完。。 |
Android P 闪退
The text was updated successfully, but these errors were encountered: