All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.unidbg.linux.android.AndroidEmulatorBuilder Maven / Gradle / Ivy

There is a newer version: 0.9.8
Show newest version
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