Blank screen is loaded

Hello Appium Friends,

Running the below code and have connected to actual device thorugh USB: When i run

Observed: It ask me to select the connected android device,once i select, it trys to load the app in mobile, but i get to see blankscreen. Can any one help me to resolve ,why the actual app is not launching and blank screen is seen, i tried with other app name and package activity,still the same issue

package com.example.myapp1;

import android.app.Activity;
import io.appium.java_client.android.AndroidDriver;
import org.openqa.selenium.By;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.remote.DesiredCapabilities;
import org.testng.annotations.AfterClass;
import org.testng.annotations.BeforeClass;
import org.testng.annotations.Test;

import java.net.MalformedURLException;
import java.net.URL;
import java.util.concurrent.TimeUnit;

// Button Test

public class MainActivity extends Activity {

// Step 1: Android Driver : To connect and Test your app you require a Android Driver. So Initialize it before going to capabilities

public static AndroidDriver driver; //adding java-client.jar will resolve any error

@BeforeClass
public void setUP() throws MalformedURLException {

// Step 2: Capabilities for Android Driver to Connect to the Android Device

    DesiredCapabilities capabilities = new DesiredCapabilities();
    capabilities.setCapability("device", "Android");
    capabilities.setCapability("deviceName", "Lokesh Gangaiah");
    capabilities.setCapability("platformName", "Android");
    capabilities.setCapability("platformVersion", "23");

// Step 3": Package and Activity Information of a APP To be Tested
// Go to AppInformation project and execute the code to get the appPackage and appActivity Information

    capabilities.setCapability("appPackage", "com.facebook.katana");
    capabilities.setCapability("appActivity", "com.facebook.katana.LoginActivity");

// Step 4 : Appium Server Details to connect the Appium Server

    driver = new AndroidDriver(new URL("http://127.0.0.1:4723/wd/hub"), capabilities);
    driver.manage().timeouts().implicitlyWait(30, TimeUnit.SECONDS);
}


@Test
public void Cont_Dial_Test() throws InterruptedException {

    System.out.println(" Start to identify a test");

By.xpath(“//android.widget.EditText[@text=‘Email or Phone. Editing.’]”).findElement(driver).click();
By.xpath(“//android.widget.EditText[@text=‘Email or Phone. Editing.’]”).findElement(driver).clear();

   //driver.findElements(By.tagName("Email or Phone. Editing.")).get(0).sendKeys("[email protected]");
  //driver.findElementByClassName("android.widget.EditText").get(0).sendKeys("itslok");

    By.id("com.facebook.katana:id/login_username").findElement(driver).click();
    Thread.sleep(1000L);

   By.id("com.facebook.katana:id/login_username").findElement(driver).sendKeys("[email protected]");
   Thread.sleep(1000L);
    System.out.println("Test has been completed two");

  By.id("com.facebook.katana:id/login_password").findElement(driver).click();
   Thread.sleep(1000L);

   By.id("com.facebook.katana:id/login_password").findElement(driver).sendKeys("abcd");
   Thread.sleep(1000L);

   By.id("com.facebook.katana:id/login_login").findElement(driver).click();
   Thread.sleep(1000L);

    System.out.println("Test has been completed two");
}


@AfterClass
public void tearDown() throws InterruptedException {
    Thread.sleep(10000L);
    driver.quit();
}

}

====
Appium log

Checking if an update is available
Update not available
Launching Appium server with command: C:\Program Files (x86)\Appium\node.exe lib\server\main.js --address 127.0.0.1 --port 4723 --platform-name Android --platform-version 23 --automation-name Appium --log-no-color
info: Welcome to Appium v1.4.16 (REV ae6877eff263066b26328d457bd285c0cc62430d)
info: Appium REST http interface listener started on 127.0.0.1:4723
info: [debug] Non-default server args: {“address”:“127.0.0.1”,“logNoColors”:true,“platformName”:“Android”,“platformVersion”:“23”,“automationName”:“Appium”}
info: Console LogLevel: debug