Use the proper URL for the google repository.
Also fix an NPE.
This commit is contained in:
@@ -72,8 +72,10 @@ public class AndroidVersion {
|
||||
|
||||
public void saveProperties(Properties props) {
|
||||
props.setProperty(PROP_API_LEVEL, Integer.toString(mApiLevel));
|
||||
if (mCodename != null) {
|
||||
props.setProperty(PROP_CODENAME, mCodename);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the api level as an integer.
|
||||
|
||||
@@ -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$
|
||||
|
||||
|
||||
Reference in New Issue
Block a user