直接运行demo,发现输出结果是错误的
huangbqsky opened this issue · 0 comments
huangbqsky commented
VCore.getCore().registerService(IPayManager.class, this);
IPayManager service = VCore.getCore().getService(IPayManager.class);
Log.e(TAG, "onCreate: " + service);
输入日志:/com.ipc.code E/CmProcess: onCreate: null,
也就是已经MainActivity注册了,但是TestActivity获取service为空