var arrays = Java.use('java.util.Arrays') console.log('content: ' + arrays.toString(list.toArray())); 先这样打印出来的是list元素里的类型 然后按下面这样强转类型遍历打印出来就是。 var NameInfo = Java.use("com.xxx.xxx.NameInfo"); for(var i = 0; i < list.toArray().length; i++){ var info = Java.cast(list.get(i),NameInfo); console.log("content:" + info.key.value ); console.log("content:" + info.value.value ); console.log("=================================================="); }
标签:遍历,console,log,list,Java,var,frida,NameInfo From: https://www.cnblogs.com/coffee520/p/17310612.html