We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
当activity继承 LifecycleActivity 的时候 activity将无法启动 UploadDriverPermitActivity 继承了LifecycleActivity,导致 UploadDriverPermitActivity 无法启动 具体错误如下:
W/Phantom ( 6513): [ (PluginContext.java:84)# createContext -> main ] createContext error, targetClass: class com.wlqq.phantom.plugin.usercenter.verifiy.UploadDriverPermitActivity W/Phantom ( 6513): java.lang.ClassCastException: com.wlqq.phantom.plugin.usercenter.verifiy.UploadDriverPermitActivity cannot be cast to com.wlqq.phantom.library.proxy.PluginInterceptActivity W/Phantom ( 6513): at com.wlqq.phantom.library.proxy.PluginContext.createContext(PluginContext.java:69) W/Phantom ( 6513): at com.wlqq.phantom.library.proxy.ActivityHostProxy.onCreate(ActivityHostProxy.java:115) W/Phantom ( 6513): at android.app.Activity.performCreate(Activity.java:5990) W/Phantom ( 6513): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1106) W/Phantom ( 6513): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2278) W/Phantom ( 6513): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2387) W/Phantom ( 6513): at android.app.ActivityThread.access$800(ActivityThread.java:151) W/Phantom ( 6513): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1303) W/Phantom ( 6513): at android.os.Handler.dispatchMessage(Handler.java:102) W/Phantom ( 6513): at android.os.Looper.loop(Looper.java:135) W/Phantom ( 6513): at android.app.ActivityThread.main(ActivityThread.java:5254) W/Phantom ( 6513): at java.lang.reflect.Method.invoke(Native Method) W/Phantom ( 6513): at java.lang.reflect.Method.invoke(Method.java:372) W/Phantom ( 6513): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903) W/Phantom ( 6513): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698) W/Phantom ( 6513): [ (ActivityHostProxy.java:160)# onCreate -> main ] ActivityHostProxy onCreate error: com.wlqq.phantom.plugin.usercenter.verifiy.UploadDriverPermitActivity W/Phantom ( 6513): java.lang.Exception: create mClientActivity return null W/Phantom ( 6513): at com.wlqq.phantom.library.proxy.ActivityHostProxy.onCreate(ActivityHostProxy.java:117) W/Phantom ( 6513): at android.app.Activity.performCreate(Activity.java:5990) W/Phantom ( 6513): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1106) W/Phantom ( 6513): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2278) W/Phantom ( 6513): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2387) W/Phantom ( 6513): at android.app.ActivityThread.access$800(ActivityThread.java:151) W/Phantom ( 6513): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1303) W/Phantom ( 6513): at android.os.Handler.dispatchMessage(Handler.java:102) W/Phantom ( 6513): at android.os.Looper.loop(Looper.java:135) W/Phantom ( 6513): at android.app.ActivityThread.main(ActivityThread.java:5254) W/Phantom ( 6513): at java.lang.reflect.Method.invoke(Native Method) W/Phantom ( 6513): at java.lang.reflect.Method.invoke(Method.java:372) W/Phantom ( 6513): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903) W/Phantom ( 6513): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
当activity继承 LifecycleActivity 的时候 activity将无法启动
UploadDriverPermitActivity 继承了LifecycleActivity,导致 UploadDriverPermitActivity 无法启动
具体错误如下:
W/Phantom ( 6513): [ (PluginContext.java:84)# createContext -> main ] createContext error, targetClass: class com.wlqq.phantom.plugin.usercenter.verifiy.UploadDriverPermitActivity
W/Phantom ( 6513): java.lang.ClassCastException: com.wlqq.phantom.plugin.usercenter.verifiy.UploadDriverPermitActivity cannot be cast to com.wlqq.phantom.library.proxy.PluginInterceptActivity
W/Phantom ( 6513): at com.wlqq.phantom.library.proxy.PluginContext.createContext(PluginContext.java:69)
W/Phantom ( 6513): at com.wlqq.phantom.library.proxy.ActivityHostProxy.onCreate(ActivityHostProxy.java:115)
W/Phantom ( 6513): at android.app.Activity.performCreate(Activity.java:5990)
W/Phantom ( 6513): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1106)
W/Phantom ( 6513): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2278)
W/Phantom ( 6513): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2387)
W/Phantom ( 6513): at android.app.ActivityThread.access$800(ActivityThread.java:151)
W/Phantom ( 6513): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1303)
W/Phantom ( 6513): at android.os.Handler.dispatchMessage(Handler.java:102)
W/Phantom ( 6513): at android.os.Looper.loop(Looper.java:135)
W/Phantom ( 6513): at android.app.ActivityThread.main(ActivityThread.java:5254)
W/Phantom ( 6513): at java.lang.reflect.Method.invoke(Native Method)
W/Phantom ( 6513): at java.lang.reflect.Method.invoke(Method.java:372)
W/Phantom ( 6513): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903)
W/Phantom ( 6513): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698)
W/Phantom ( 6513): [ (ActivityHostProxy.java:160)# onCreate -> main ] ActivityHostProxy onCreate error: com.wlqq.phantom.plugin.usercenter.verifiy.UploadDriverPermitActivity
W/Phantom ( 6513): java.lang.Exception: create mClientActivity return null
W/Phantom ( 6513): at com.wlqq.phantom.library.proxy.ActivityHostProxy.onCreate(ActivityHostProxy.java:117)
W/Phantom ( 6513): at android.app.Activity.performCreate(Activity.java:5990)
W/Phantom ( 6513): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1106)
W/Phantom ( 6513): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2278)
W/Phantom ( 6513): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2387)
W/Phantom ( 6513): at android.app.ActivityThread.access$800(ActivityThread.java:151)
W/Phantom ( 6513): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1303)
W/Phantom ( 6513): at android.os.Handler.dispatchMessage(Handler.java:102)
W/Phantom ( 6513): at android.os.Looper.loop(Looper.java:135)
W/Phantom ( 6513): at android.app.ActivityThread.main(ActivityThread.java:5254)
W/Phantom ( 6513): at java.lang.reflect.Method.invoke(Native Method)
W/Phantom ( 6513): at java.lang.reflect.Method.invoke(Method.java:372)
W/Phantom ( 6513): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903)
W/Phantom ( 6513): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698)
The text was updated successfully, but these errors were encountered: