java.lang.RuntimeException

io.selendroid.exceptions.SelendroidException: Environment variable 'ANDROID_HOME' was not found!

Samebug tips0

We couldn't find tips for this exception.

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

Solutions on the web13

  • via Unknown by Koushik Arvapally,
  • Stack trace

    • 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) Caused by: io.selendroid.exceptions.SelendroidException: Environment variable 'ANDROID_HOME' was not found! at io.selendroid.android.AndroidSdk.androidHome(AndroidSdk.java:97) at io.selendroid.android.AndroidSdk.platformToolsHome(AndroidSdk.java:86) at io.selendroid.android.AndroidSdk.aapt(AndroidSdk.java:39) at io.selendroid.android.impl.DefaultAndroidApp.deleteFileFromWithinApk(DefaultAndroidApp.java:107) at io.selendroid.builder.SelendroidServerBuilder.deleteFileFromAppSilently(SelendroidServerBuilder.java:135) at io.selendroid.builder.SelendroidServerBuilder.resignApp(SelendroidServerBuilder.java:144) at io.selendroid.server.model.SelendroidStandaloneDriver.initApplicationsUnderTest(SelendroidStandaloneDriver.java:142) ... 5 more

    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 visitor
    Unknown visitorOnce,