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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by roger_that
, 1 year ago
io.selendroid.exceptions.SelendroidException: Environment variable 'ANDROID_HOME' was not found!
via GitHub by krunal8191
, 2 years ago
io.selendroid.exceptions.SelendroidException: Environment variable 'ANDROID_HOME' was not found!
via Google Groups by Koushik Arvapally, 2 years ago
io.selendroid.exceptions.SelendroidException: Environment variable 'ANDROID_HOME' was not found!
via Google Groups by Erando89, 1 year ago
io.selendroid.exceptions.SelendroidException: Environment variable 'ANDROID_HOME' was not found!
via GitHub by krishnamvb
, 2 years ago
io.selendroid.exceptions.SelendroidException: Command 'aapt' was not found inside the Android SDK. Please update to the latest development tools and try again.
via GitHub by PriyankaBonam
, 1 year ago
io.selendroid.exceptions.SelendroidException: Comman d 'aapt' was not found inside the Android SDK. Please update to the latest devel opment tools and try again.
java.lang.RuntimeException: 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:102)
at io.selendroid.builder.SelendroidServerBuilder.deleteFileFromAppSilently(SelendroidServerBuilder.java:116)
at io.selendroid.builder.SelendroidServerBuilder.resignApp(SelendroidServerBuilder.java:125)
at io.selendroid.server.model.SelendroidStandaloneDriver.initApplicationsUnderTest(SelendroidStandaloneDriver.java:138)
at io.selendroid.server.model.SelendroidStandaloneDriver.(SelendroidStandaloneDriver.java:80)
at io.selendroid.server.SelendroidStandaloneServer.initializeSelendroidServer(SelendroidStandaloneServer.java:91)
at io.selendroid.server.SelendroidStandaloneServer.(SelendroidStandaloneServer.java:65)
at io.selendroid.SelendroidLauncher.launchServer(SelendroidLauncher.java:49)
at io.selendroid.SelendroidLauncher.launchSelendroid(SelendroidLauncher.java:73)
at com.pb.crawler.MobileWebTest.startSelendroidServer(MobileWebTest.java:86)
at com.pb.crawler.MobileWebTest.main(MobileWebTest.java:27)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago

Know the solutions? Share your knowledge to help other developers to debug faster.