public static void init(Application application) {
        if (!hasInit) {
            logger = _ARouter.logger;
            _ARouter.logger.info(Consts.TAG, "ARouter init start.");
            hasInit = _ARouter.init(application);

            if (hasInit) {
                _ARouter.afterInit();
            }

            _ARouter.logger.info(Consts.TAG, "ARouter init over.");
        }
    }
public static void init ( Application application ) { if ( ! hasInit ) { logger = _ARouter . logger ; _ARouter . logger . info ( Consts . TAG , "ARouter init start." ) ; hasInit = _ARouter . init ( application ) ; if ( hasInit ) { _ARouter . afterInit ( ) ; } _ARouter . logger . info ( Consts . TAG , "ARouter init over." ) ; } }
Init, it must be call before used router.