Launch(app) is not working

hi ,
Launch app keyword is not working .while trying to launch app through Launch(app) application not launching and also we are getting alert can u plz resolve this issue.

script:

//package ;
import com.experitest.appium.;
import io.appium.java_client.remote.AndroidMobileCapabilityType;
import io.appium.java_client.remote.MobileCapabilityType;
import org.openqa.selenium.support.ui.ExpectedConditions;
import org.openqa.selenium.support.ui.WebDriverWait;
import org.openqa.selenium.ScreenOrientation;
import org.openqa.selenium.remote.DesiredCapabilities;
import org.openqa.selenium.By;
import org.junit.
;
import java.net.URL;
import java.net.MalformedURLException;

public class Untitled {
private String host = “localhost”;
private int port = 8050;
private String reportDirectory = “reports”;
private String reportFormat = “xml”;
private String testName = “Untitled”;
protected SeeTestAndroidDriver driver = null;

@Before
public void setUp() throws MalformedURLException {
    DesiredCapabilities dc = new DesiredCapabilities();
    dc.setCapability(SeeTestCapabilityType.REPORT_DIRECTORY, reportDirectory);
    dc.setCapability(SeeTestCapabilityType.REPORT_FORMAT, reportFormat);
    dc.setCapability(SeeTestCapabilityType.TEST_NAME, testName);
    dc.setCapability(MobileCapabilityType.UDID, "MZ5DOVEUZDONSWLZ");
    dc.setCapability(AndroidMobileCapabilityType.APP_PACKAGE, "com.mgmresorts.mgmresorts");
    dc.setCapability(AndroidMobileCapabilityType.APP_ACTIVITY, "com.mvl.mgmgrand.activities.SplashScreen");
    driver = new SeeTestAndroidDriver<>(new URL("http://"+host+":"+port), dc);
}

@Test
public void testUntitled() {
    driver.startActivity("com.mgmresorts.mgmresorts", "com.mvl.mgmgrand.activities.SplashScreen");
    driver.findElement(By.xpath("//*[@text='Book Room']")).click();
    new WebDriverWait(driver, 120).until(ExpectedConditions.presenceOfElementLocated(By.xpath("//*[@contentDescription='Las Vegas']")));
    driver.findElement(By.xpath("//*[@contentDescription='Las Vegas']")).click();
    driver.findElement(By.xpath("//*[@text='Maryland']")).click();
    driver.context("WEBVIEW_1");
    driver.findElement(By.xpath("//*[@contentDescription='MGM NATIONAL HARBOR']")).click();
}

@After
public void tearDown() {
    driver.quit();
}

}

HI,

Can you try to import the application to the tool and select it from the application management? then choose the install capability

Then export the code which was generated for you

If you only want to launch, then cancel the Install Checkbox