diff options
author | Raphael <raphael@google.com> | 2010-03-26 13:57:21 -0700 |
---|---|---|
committer | Raphael <raphael@google.com> | 2010-03-26 14:08:27 -0700 |
commit | 8d99c28017af1bd577f251cb8f37a0d0715744d3 (patch) | |
tree | 3590022ef4b2defee3634210abbeedefb98b4227 /androidprefs | |
parent | 47aea9ef83f30269b31c0b5133581a68d28bb536 (diff) | |
download | sdk-8d99c28017af1bd577f251cb8f37a0d0715744d3.zip sdk-8d99c28017af1bd577f251cb8f37a0d0715744d3.tar.gz sdk-8d99c28017af1bd577f251cb8f37a0d0715744d3.tar.bz2 |
SDK Manager: edit errors displayed when ANDROID_SDK_HOME is missing.
Change-Id: I5748ced7efbcabf77a72670f577269f89da99925
Diffstat (limited to 'androidprefs')
-rw-r--r-- | androidprefs/src/com/android/prefs/AndroidLocation.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/androidprefs/src/com/android/prefs/AndroidLocation.java b/androidprefs/src/com/android/prefs/AndroidLocation.java index 4936489..9a537d5 100644 --- a/androidprefs/src/com/android/prefs/AndroidLocation.java +++ b/androidprefs/src/com/android/prefs/AndroidLocation.java @@ -52,7 +52,8 @@ public final class AndroidLocation { // if the above failed, we throw an exception. if (home == null) { throw new AndroidLocationException( - "Unable to get the home directory. Make sure the environment variable ANDROID_SDK_HOME is set up"); + "Unable to get the Android SDK home directory.\n" + + "Make sure the environment variable ANDROID_SDK_HOME is set up."); } else { sPrefsLocation = home + File.separator + ".android" + File.separator; } |