Not able to install the .APK

public class AndroidContactsTest {
private AppiumDriver driver;

public void setUp() throws Exception {
    // set up appium
    File classpathRoot = new File(System.getProperty("user.dir"));
    File appDir = new File(classpathRoot, "src/Package/apps");
    File app = new File(appDir, "ChessFree.apk");
    DesiredCapabilities capabilities = new DesiredCapabilities();
    capabilities.setCapability("platformVersion", "4.2.2");
    capabilities.setCapability("platformName", "Android");
    capabilities.setCapability("app", app.getAbsolutePath());
    capabilities.setCapability("appPackage", "");
    capabilities.setCapability("appActivity", ".ChessFreeActivity");
    driver = new AndroidDriver<>(new URL(""), capabilities);

public void tearDown() throws Exception {

public void play(){
    WebElement el = driver.findElement("PLAY!"));;
    driver.findElement("Single Player")).click();


I Get the below error message with executed

org.openqa.selenium.remote.UnreachableBrowserException: Could not start a new session. Possible causes are invalid address of the remote server or browser start-up failure.
Build info: version: ‘2.46.0’, revision: ‘87c69e2’, time: ‘2015-06-04 16:17:10’
System info: host: ‘GDC-NO-7Q7FRY1’, ip: ‘’, ‘Windows 8.1’, os.arch: ‘amd64’, os.version: ‘6.3’, java.version: ‘1.8.0_51’
Driver info: driver.version: AndroidDriver
at org.openqa.selenium.remote.RemoteWebDriver.execute(


chromeversion is : .apk
Installed chrome using adb command.

When I open the chrome on emulator it’s not getting open. WHat is the problem and when I’m not using chrome for my .apk capabilities why the appium wants chrome to be launched.

Hello, I had same problem. I solved it by installing apk file to AVD manually.
Just go to SDK folder -> platform-tools -> copy here your apk file -> adb install yourApkFile

Thanks for the reply… I want to install that though script and further do automation. As each day the apk file or new build i wanted to automate it.