com.github.unidbg.linux.android.AndroidEmulatorBuilder Maven / Gradle / Ivy
package com.github.unidbg.linux.android;
import com.github.unidbg.AndroidEmulator;
import com.github.unidbg.EmulatorBuilder;
public class AndroidEmulatorBuilder extends EmulatorBuilder {
public static AndroidEmulatorBuilder for32Bit() {
return new AndroidEmulatorBuilder(false);
}
public static AndroidEmulatorBuilder for64Bit() {
return new AndroidEmulatorBuilder(true);
}
protected AndroidEmulatorBuilder(boolean is64Bit) {
super(is64Bit);
}
@Override
public AndroidEmulator build() {
return is64Bit ? new AndroidARM64Emulator(processName, rootDir, backendFactories) : new AndroidARMEmulator(processName, rootDir, backendFactories);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy