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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

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.
via Stack Overflow by roger_that
, 1 year ago
io.selendroid.exceptions.SelendroidException: Environment variable 'ANDROID_HOME' was not found!
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:107)
at io.selendroid.builder.SelendroidServerBuilder.deleteFileFromAppSilently(SelendroidServerBuilder.java:135)
at io.selendroid.builder.SelendroidServerBuilder.resignApp(SelendroidServerBuilder.java:144)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

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