You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
运行的时候报这个错误
Exception in thread "main" java.lang.IllegalStateException: Illegal JNI version: 0xffffffff
at com.github.unidbg.linux.android.dvm.BaseVM.checkVersion(BaseVM.java:228)
at com.github.unidbg.linux.android.dvm.DalvikModule.callJNI_OnLoad(DalvikModule.java:39)
at com.tongcheng.Tongcheng.(Tongcheng.java:31)
at com.tongcheng.Tongcheng.main(Tongcheng.java:58)
import com.github.unidbg.AndroidEmulator;
import com.github.unidbg.Module;
import com.github.unidbg.linux.android.AndroidEmulatorBuilder;
import com.github.unidbg.linux.android.AndroidResolver;
import com.github.unidbg.linux.android.dvm.*;
import com.github.unidbg.linux.android.dvm.jni.ProxyDvmObject;
import com.github.unidbg.memory.Memory;
import java.io.File;
import java.util.HashMap;
import java.util.Map;
public class Tongc extends AbstractJni {
private final AndroidEmulator emulator;
private final VM vm;
public static Module module;
Tongc(){
emulator = AndroidEmulatorBuilder.for32Bit()
.setProcessName("com.tongcheng.android")
.build();
Memory memory = emulator.getMemory();
memory.setLibraryResolver(new AndroidResolver(23));
vm = emulator.createDalvikVM(new File("apks/tongcheng/1085.apk"));
DalvikModule dm = vm.loadLibrary(new File("apks/tongcheng/turingbase.so"), false);
}
运行的时候报这个错误
Exception in thread "main" java.lang.IllegalStateException: Illegal JNI version: 0xffffffff
at com.github.unidbg.linux.android.dvm.BaseVM.checkVersion(BaseVM.java:228)
at com.github.unidbg.linux.android.dvm.DalvikModule.callJNI_OnLoad(DalvikModule.java:39)
at com.tongcheng.Tongcheng.(Tongcheng.java:31)
at com.tongcheng.Tongcheng.main(Tongcheng.java:58)
这个是so文件
turingbase.zip
The text was updated successfully, but these errors were encountered: