java.lang.RuntimeException: 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)

Google Groups | Erando89 | 2 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    SelendroidException: Environment variable 'ANDROID_HOME' was not found!

    Google Groups | 2 years ago | Erando89
    java.lang.RuntimeException: 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)

    Root Cause Analysis

    1. java.lang.RuntimeException

      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()
    2. io.selendroid.android
      AndroidSdk.androidHome
      1. io.selendroid.android.AndroidSdk.androidHome(AndroidSdk.java:97)
      1 frame