ctrip旅游的类找不到怎么把? 八成是classloader没选择对,多classloader可以这样子.

function main(){
    Java.perform(function(){
        Java.enumerateClassLoaders({
            onMatch: function(loader){
              try{
                let result = loader.findClass("ctrip.business.comm.ProcoltolHandle");
                Java.classFactory.loader = loader;
                let ProcoltolHandle = Java.use("ctrip.business.comm.ProcoltolHandle");
                ProcoltolHandle.class.getDeclaredMethods().forEach(method => {
                    console.log(method)
                });
              }
              catch(error){
                console.log("[***] not found" );
              }
            },
            onComplete: function(){}
          });

    })
}

main()