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

setHiddenApiExemptions问题 #764

Closed
liangxiwei opened this issue Nov 19, 2019 · 2 comments
Closed

setHiddenApiExemptions问题 #764

liangxiwei opened this issue Nov 19, 2019 · 2 comments

Comments

@liangxiwei
Copy link

反馈BUG之前,先issue里面搜看看有没有别人已经反馈过,重复的不予处理!!

问题描述

VirtualXposed只装微信的情况下,微信偶尔需要重启

复现步骤

放置一段时间,再打开发现微信需要重新启动,于是捉log

环境

机型:三星
系统版本:Android 8.1
ROM版本:稳定
Xposed 插件以及插件版本:内置的版本
VirtualXposed版本:0.17.4

补充

log如下:
11-15 17:43:29.209 1667 1667 E VA++ : processProfileingInfo: 0xe965b2f9
11-15 17:43:29.209 1667 1667 E VA++ : compileMethod: 0xe964f43d
11-15 17:43:29.230 2086 14001 E WindowManager: Unknown window type: 1002
11-15 17:43:29.230 2086 14001 E WindowManager: Unknown window type: 1001
11-15 17:43:29.230 2086 14001 E WindowManager: Unknown window type: 1004
11-15 17:43:29.247 2086 3493 V LightsService: setLightLocked #3: color=#ff00ff00:mode=0: brightnessMode=0
11-15 17:43:29.493 2086 2139 E WindowManager: Unknown window type: 1002
11-15 17:43:29.493 2086 2139 E WindowManager: Unknown window type: 1001
11-15 17:43:29.493 2086 2139 E WindowManager: Unknown window type: 1004
11-15 17:43:29.509 2625 2643 W ContextImpl: Calling a method in the system process without a qualified user: android.app.ContextImpl.bindService:1437 android.content.ContextWrapper.bindService:639 smartisanos.app.tracker.TrackerServiceConnection.connect:34 smartisanos.app.tracker.Agent.connectService:65 smartisanos.app.tracker.Agent.flush:388
11-15 17:43:29.599 1667 1667 E Reflection: reflect bootstrap failed:
11-15 17:43:29.599 1667 1667 E Reflection: java.lang.reflect.InvocationTargetException
11-15 17:43:29.599 1667 1667 E Reflection: at java.lang.reflect.Method.invoke(Native Method)
11-15 17:43:29.599 1667 1667 E Reflection: at me.weishu.reflection.Reflection.(Reflection.java:32)
11-15 17:43:29.599 1667 1667 E Reflection: at me.weishu.reflection.Reflection.unseal(Reflection.java:52)
11-15 17:43:29.599 1667 1667 E Reflection: at com.lody.virtual.client.core.VirtualCore.startup(VirtualCore.java:187)
11-15 17:43:29.599 1667 1667 E Reflection: at io.virtualapp.XApp.attachBaseContext(XApp.java:55)
11-15 17:43:29.599 1667 1667 E Reflection: at android.app.Application.attach(Application.java:196)
11-15 17:43:29.599 1667 1667 E Reflection: at android.app.Instrumentation.newApplication(Instrumentation.java:1009)
11-15 17:43:29.599 1667 1667 E Reflection: at android.app.Instrumentation.newApplication(Instrumentation.java:993)
11-15 17:43:29.599 1667 1667 E Reflection: at android.app.LoadedApk.makeApplication(LoadedApk.java:796)
11-15 17:43:29.599 1667 1667 E Reflection: at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5632)
11-15 17:43:29.599 1667 1667 E Reflection: at android.app.ActivityThread.-wrap2(ActivityThread.java)
11-15 17:43:29.599 1667 1667 E Reflection: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1731)
11-15 17:43:29.599 1667 1667 E Reflection: at android.os.Handler.dispatchMessage(Handler.java:102)
11-15 17:43:29.599 1667 1667 E Reflection: at android.os.Looper.loop(Looper.java:159)
11-15 17:43:29.599 1667 1667 E Reflection: at android.app.ActivityThread.main(ActivityThread.java:6385)
11-15 17:43:29.599 1667 1667 E Reflection: at java.lang.reflect.Method.invoke(Native Method)
11-15 17:43:29.599 1667 1667 E Reflection: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1096)
11-15 17:43:29.599 1667 1667 E Reflection: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:883)
11-15 17:43:29.599 1667 1667 E Reflection: Caused by: java.lang.NoSuchMethodException: setHiddenApiExemptions [class [Ljava.lang.String;]
11-15 17:43:29.599 1667 1667 E Reflection: at java.lang.Class.getMethod(Class.java:1981)
11-15 17:43:29.599 1667 1667 E Reflection: at java.lang.Class.getDeclaredMethod(Class.java:1960)
11-15 17:43:29.599 1667 1667 E Reflection: ... 18 more

写完之后,请自己再读一遍自己写的,如果你自己都读不懂,就不用说修复了

@canyie
Copy link

canyie commented Nov 22, 2019

这个log没事的...

@tiann
Copy link
Member

tiann commented Mar 7, 2020

此 log 与问题无关,另外可以尝试新版 1ab205c

@tiann tiann closed this as completed Mar 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants