You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2018-10-25 19:00:38.699 2324-2354/? V/pem: noteActivityV5 uid = 10465, cool = 1, Name = com.wlqq.phantom.library.proxy.ActivityHostProxy 2018-10-25 19:00:38.699 2324-2354/? V/SceneMonitor: noteActivitySwitch: the current uid: 10465 mSceneApp.uid: 10465 2018-10-25 19:00:38.699 2324-2626/? V/SceneMonitor: MSG_ACTIVITY_SWITCH the current app is :com.wlqq.phantom.sample = uid : 10465 2018-10-25 19:00:38.705 23530-23530/com.wlqq.phantom.sample V/Phantom: [ (PhantomCore.java:612)# waitForPluginManagerInitCompletion -> main ] waitForPluginManagerInitCompletion cost ms: 0 2018-10-25 19:00:38.705 23530-23530/com.wlqq.phantom.sample I/Phantom: [ (ActivityHostProxy.java:154)# onCreate -> main ] onCreate, originIntent.getComponent: ComponentInfo{com.wlqq.phantom.plugin.view/com.wlqq.phantom.plugin.view.MainActivity} 2018-10-25 19:00:38.711 23530-23530/com.wlqq.phantom.sample V/Phantom: [ (PhantomCore.java:612)# waitForPluginManagerInitCompletion -> main ] waitForPluginManagerInitCompletion cost ms: 0 2018-10-25 19:00:38.721 23530-23530/com.wlqq.phantom.sample I/DecorView: setWindowBackground mBackgroundPadding = Rect(0, 0 - 0, 0), mFramePadding = Rect(0, 0 - 0, 0), pkg = com.wlqq.phantom.sample 2018-10-25 19:00:38.722 23530-23530/com.wlqq.phantom.sample V/Phantom: [ (DefaultLogReporter.java:29)# reportLog -> main ] com.wlqq.phantom.plugin.view_1.0.0/MainActivity onCreate fail 2018-10-25 19:00:38.723 23530-23530/com.wlqq.phantom.sample W/Phantom: [ (ActivityHostProxy.java:222)# onCreate -> main ] ActivityHostProxy onCreate error: com.wlqq.phantom.plugin.view.MainActivity java.lang.reflect.InvocationTargetException at java.lang.reflect.Method.invoke(Native Method) at com.wlqq.phantom.library.proxy.ActivityHostProxy.onCreate(ActivityHostProxy.java:196) at android.app.Activity.performCreate(Activity.java:6877) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1125) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2698) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2806) at android.app.ActivityThread.-wrap12(ActivityThread.java) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1528) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:181) at android.app.ActivityThread.main(ActivityThread.java:6274) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:900) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:790) Caused by: java.lang.NullPointerException: Attempt to read from field 'android.widget.TextView com.wlqq.phantom.plugin.view.databinding.ActivityMainBinding.text' on a null object reference at com.wlqq.phantom.plugin.view.MainActivity.onCreate(MainActivity.java:48) at java.lang.reflect.Method.invoke(Native Method) at com.wlqq.phantom.library.proxy.ActivityHostProxy.onCreate(ActivityHostProxy.java:196) at android.app.Activity.performCreate(Activity.java:6877) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1125) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2698) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2806) at android.app.ActivityThread.-wrap12(ActivityThread.java) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1528) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:181) at android.app.ActivityThread.main(ActivityThread.java:6274) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:900) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:790) 2018-10-25 19:00:38.723 23530-23530/com.wlqq.phantom.sample V/Phantom: [ (DefaultLogReporter.java:24)# reportEvent -> main ] _ph_3.0.0_activity_onCreate_fail -> com.wlqq.phantom.plugin.view -> params: {SDK_INT=25, target_activity=com.wlqq.phantom.plugin.view.MainActivity, message=java.lang.reflect.InvocationTargetException, vn=1.0.0, MODEL=vivo_vivo X20A_25, package_name=com.wlqq.phantom.plugin.view} 2018-10-25 19:00:38.724 23530-23530/com.wlqq.phantom.sample W/Phantom: [ (DefaultLogReporter.java:19)# reportException -> main ] params: {SDK_INT=25, MODEL=vivo_vivo X20A_25} com.wlqq.phantom.library.proxy.ActivityOnCreateException: ActivityHostProxy onCreate error: com.wlqq.phantom.plugin.view.MainActivity at com.wlqq.phantom.library.proxy.ActivityHostProxy.onCreate(ActivityHostProxy.java:232) at android.app.Activity.performCreate(Activity.java:6877) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1125) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2698) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2806) at android.app.ActivityThread.-wrap12(ActivityThread.java) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1528) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:181) at android.app.ActivityThread.main(ActivityThread.java:6274) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:900) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:790) Caused by: java.lang.reflect.InvocationTargetException at java.lang.reflect.Method.invoke(Native Method) at com.wlqq.phantom.library.proxy.ActivityHostProxy.onCreate(ActivityHostProxy.java:196) at android.app.Activity.performCreate(Activity.java:6877) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1125) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2698) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2806) at android.app.ActivityThread.-wrap12(ActivityThread.java) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1528) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:181) at android.app.ActivityThread.main(ActivityThread.java:6274) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:900) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:790) Caused by: java.lang.NullPointerException: Attempt to read from field 'android.widget.TextView com.wlqq.phantom.plugin.view.databinding.ActivityMainBinding.text' on a null object reference at com.wlqq.phantom.plugin.view.MainActivity.onCreate(MainActivity.java:48) at java.lang.reflect.Method.invoke(Native Method) at com.wlqq.phantom.library.proxy.ActivityHostProxy.onCreate(ActivityHostProxy.java:196) at android.app.Activity.performCreate(Activity.java:6877) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1125) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2698) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2806) at android.app.ActivityThread.-wrap12(ActivityThread.java) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1528) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:181) at android.app.ActivityThread.main(ActivityThread.java:6274) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:900) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:790)
The text was updated successfully, but these errors were encountered:
请问插件是否不支持databinding呢?我这边运行demo 发现 插件的databinding直接爆空了,另外能否提供Phantom目前支持的技术栈清单,鉴于运行demo有时候缺少一些技术栈支持信息,期望使用者也能够少走弯路,十分期待!谢谢!
使用机型 VIVO X20A Android版本7.1.1
插件使用databinding 插件主界面 onCreate(Bundle savedInstanceState) savedInstanceState==null
下面为报错日志
2018-10-25 19:00:38.699 2324-2354/? V/pem: noteActivityV5 uid = 10465, cool = 1, Name = com.wlqq.phantom.library.proxy.ActivityHostProxy 2018-10-25 19:00:38.699 2324-2354/? V/SceneMonitor: noteActivitySwitch: the current uid: 10465 mSceneApp.uid: 10465 2018-10-25 19:00:38.699 2324-2626/? V/SceneMonitor: MSG_ACTIVITY_SWITCH the current app is :com.wlqq.phantom.sample = uid : 10465 2018-10-25 19:00:38.705 23530-23530/com.wlqq.phantom.sample V/Phantom: [ (PhantomCore.java:612)# waitForPluginManagerInitCompletion -> main ] waitForPluginManagerInitCompletion cost ms: 0 2018-10-25 19:00:38.705 23530-23530/com.wlqq.phantom.sample I/Phantom: [ (ActivityHostProxy.java:154)# onCreate -> main ] onCreate, originIntent.getComponent: ComponentInfo{com.wlqq.phantom.plugin.view/com.wlqq.phantom.plugin.view.MainActivity} 2018-10-25 19:00:38.711 23530-23530/com.wlqq.phantom.sample V/Phantom: [ (PhantomCore.java:612)# waitForPluginManagerInitCompletion -> main ] waitForPluginManagerInitCompletion cost ms: 0 2018-10-25 19:00:38.721 23530-23530/com.wlqq.phantom.sample I/DecorView: setWindowBackground mBackgroundPadding = Rect(0, 0 - 0, 0), mFramePadding = Rect(0, 0 - 0, 0), pkg = com.wlqq.phantom.sample 2018-10-25 19:00:38.722 23530-23530/com.wlqq.phantom.sample V/Phantom: [ (DefaultLogReporter.java:29)# reportLog -> main ] com.wlqq.phantom.plugin.view_1.0.0/MainActivity onCreate fail 2018-10-25 19:00:38.723 23530-23530/com.wlqq.phantom.sample W/Phantom: [ (ActivityHostProxy.java:222)# onCreate -> main ] ActivityHostProxy onCreate error: com.wlqq.phantom.plugin.view.MainActivity java.lang.reflect.InvocationTargetException at java.lang.reflect.Method.invoke(Native Method) at com.wlqq.phantom.library.proxy.ActivityHostProxy.onCreate(ActivityHostProxy.java:196) at android.app.Activity.performCreate(Activity.java:6877) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1125) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2698) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2806) at android.app.ActivityThread.-wrap12(ActivityThread.java) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1528) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:181) at android.app.ActivityThread.main(ActivityThread.java:6274) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:900) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:790) Caused by: java.lang.NullPointerException: Attempt to read from field 'android.widget.TextView com.wlqq.phantom.plugin.view.databinding.ActivityMainBinding.text' on a null object reference at com.wlqq.phantom.plugin.view.MainActivity.onCreate(MainActivity.java:48) at java.lang.reflect.Method.invoke(Native Method) at com.wlqq.phantom.library.proxy.ActivityHostProxy.onCreate(ActivityHostProxy.java:196) at android.app.Activity.performCreate(Activity.java:6877) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1125) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2698) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2806) at android.app.ActivityThread.-wrap12(ActivityThread.java) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1528) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:181) at android.app.ActivityThread.main(ActivityThread.java:6274) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:900) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:790) 2018-10-25 19:00:38.723 23530-23530/com.wlqq.phantom.sample V/Phantom: [ (DefaultLogReporter.java:24)# reportEvent -> main ] _ph_3.0.0_activity_onCreate_fail -> com.wlqq.phantom.plugin.view -> params: {SDK_INT=25, target_activity=com.wlqq.phantom.plugin.view.MainActivity, message=java.lang.reflect.InvocationTargetException, vn=1.0.0, MODEL=vivo_vivo X20A_25, package_name=com.wlqq.phantom.plugin.view} 2018-10-25 19:00:38.724 23530-23530/com.wlqq.phantom.sample W/Phantom: [ (DefaultLogReporter.java:19)# reportException -> main ] params: {SDK_INT=25, MODEL=vivo_vivo X20A_25} com.wlqq.phantom.library.proxy.ActivityOnCreateException: ActivityHostProxy onCreate error: com.wlqq.phantom.plugin.view.MainActivity at com.wlqq.phantom.library.proxy.ActivityHostProxy.onCreate(ActivityHostProxy.java:232) at android.app.Activity.performCreate(Activity.java:6877) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1125) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2698) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2806) at android.app.ActivityThread.-wrap12(ActivityThread.java) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1528) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:181) at android.app.ActivityThread.main(ActivityThread.java:6274) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:900) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:790) Caused by: java.lang.reflect.InvocationTargetException at java.lang.reflect.Method.invoke(Native Method) at com.wlqq.phantom.library.proxy.ActivityHostProxy.onCreate(ActivityHostProxy.java:196) at android.app.Activity.performCreate(Activity.java:6877) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1125) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2698) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2806) at android.app.ActivityThread.-wrap12(ActivityThread.java) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1528) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:181) at android.app.ActivityThread.main(ActivityThread.java:6274) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:900) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:790) Caused by: java.lang.NullPointerException: Attempt to read from field 'android.widget.TextView com.wlqq.phantom.plugin.view.databinding.ActivityMainBinding.text' on a null object reference at com.wlqq.phantom.plugin.view.MainActivity.onCreate(MainActivity.java:48) at java.lang.reflect.Method.invoke(Native Method) at com.wlqq.phantom.library.proxy.ActivityHostProxy.onCreate(ActivityHostProxy.java:196) at android.app.Activity.performCreate(Activity.java:6877) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1125) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2698) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2806) at android.app.ActivityThread.-wrap12(ActivityThread.java) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1528) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:181) at android.app.ActivityThread.main(ActivityThread.java:6274) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:900) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:790)
The text was updated successfully, but these errors were encountered: