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 The Thom
, 1 year ago
Unable to get the Android SDK home directory. Make sure the environment variable ANDROID_SDK_HOME is set up.
com.android.prefs.AndroidLocation$AndroidLocationException: Unable to get the Android SDK home directory.
 Make sure the environment variable ANDROID_SDK_HOME is set up.	at com.android.prefs.AndroidLocation.findHomeFolder(AndroidLocation.java:220)	at com.android.prefs.AndroidLocation.getFolder(AndroidLocation.java:141)	at com.android.ide.common.signing.KeystoreHelper.defaultDebugKeystoreLocation(KeystoreHelper.java:84)	at com.android.builder.signing.DefaultSigningConfig.initDebug(DefaultSigningConfig.java:59)	at com.android.build.gradle.internal.dsl.SigningConfig.(SigningConfig.java:52)