io.selendroid.exceptions.SelendroidException

Environment variable > 'ANDROID_HOME' was not found! > at > io.selendroid.server.model.SelendroidStandaloneDriver.initApplicationsUnderTest(SelendroidStandaloneDriver.java:146) > at > io.selendroid.server.model.SelendroidStandaloneDriver.<init>(SelendroidStandaloneDriver.java:84) > at > io.selendroid.server.SelendroidStandaloneServer.initializeSelendroidServer(SelendroidStandaloneServer.java:61) > at > io.selendroid.server.SelendroidStandaloneServer.<init>(SelendroidStandaloneServer.java:50) > at > io.selendroid.SelendroidLauncher.launchServer(SelendroidLauncher.java:64) > at io.selendroid.SelendroidLauncher.main(SelendroidLauncher.java:112)

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web41

  • Environment variable > 'ANDROID_HOME' was not found! > at > io.selendroid.server.model.SelendroidStandaloneDriver.initApplicationsUnderTest(SelendroidStandaloneDriver.java:146) > at > io.selendroid.server.model.SelendroidStandaloneDriver
  • Error occurred while starting selendroid-server on the device at io.selendroid.android.impl.AbstractDevice.startSelendroid( AbstractDevice.java:228) at io.selendroid.server.model.SelendroidStandaloneDriver. createNewTestSession
  • Selendroid server on the device didn't came up after 20sec: at io.selendroid.server.model.SelendroidStandaloneDriver.createNewTestSession(SelendroidStandaloneDriver.java:393) at io.selendroid.server.handler.CreateSessionHandler.handle(CreateSessionHandler.java:41) at io.selendroid.server.SelendroidServlet.handleRequest(SelendroidServlet.java:127)
  • Stack trace

    • io.selendroid.exceptions.SelendroidException: Environment variable > 'ANDROID_HOME' was not found! > at > io.selendroid.server.model.SelendroidStandaloneDriver.initApplicationsUnderTest(SelendroidStandaloneDriver.java:146) > at > io.selendroid.server.model.SelendroidStandaloneDriver.<init>(SelendroidStandaloneDriver.java:84) > at > io.selendroid.server.SelendroidStandaloneServer.initializeSelendroidServer(SelendroidStandaloneServer.java:61) > at > io.selendroid.server.SelendroidStandaloneServer.<init>(SelendroidStandaloneServer.java:50) > at > io.selendroid.SelendroidLauncher.launchServer(SelendroidLauncher.java:64) > at io.selendroid.SelendroidLauncher.main(SelendroidLauncher.java:112) at io.selendroid.android.AndroidSdk.androidHome(AndroidSdk.java:97)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 11 months ago