Use the proper URL for the google repository.

Also fix an NPE.
This commit is contained in:
Xavier Ducrohet
2009-07-21 15:25:32 -07:00
parent 277f7af74f
commit 8c78ba6438
2 changed files with 4 additions and 2 deletions

View File

@@ -72,7 +72,9 @@ public class AndroidVersion {
public void saveProperties(Properties props) {
props.setProperty(PROP_API_LEVEL, Integer.toString(mApiLevel));
props.setProperty(PROP_CODENAME, mCodename);
if (mCodename != null) {
props.setProperty(PROP_CODENAME, mCodename);
}
}
/**

View File

@@ -26,7 +26,7 @@ public class SdkRepository {
/** The URL of the official Google sdk-repository site. */
public static final String URL_GOOGLE_SDK_REPO_SITE =
"https://dl.google.com/android/repository/"; //$NON-NLS-1$
"https://dl-ssl.google.com/android/repository/"; //$NON-NLS-1$
public static final String URL_DEFAULT_XML_FILE = "repository.xml"; //$NON-NLS-1$