Arouter 跳转失败activityResumeTrigger: not whiteListed

先finish 然后再跳转解决了我的问题

 JpushUtils.initJpushPermissions(activity);
                    activity.finish();
                    if (isFromWeb) {
                        Intent resultIntent = new Intent();
                        resultIntent.putExtra("status", "login_success");
                        activity.setResult(RESULT_OK, resultIntent);
                    } else {

                        ARouter.getInstance()
                                .build(RouterConfig.ROUTER_WEBMAIN)
                                .navigation();
                        ToastUtils.showLong("登录成功");
                    }

 

你可能感兴趣的:(002android)