File tree Expand file tree Collapse file tree 2 files changed +13
-6
lines changed
src/processing/mode/android Expand file tree Collapse file tree 2 files changed +13
-6
lines changed Original file line number Diff line number Diff line change 50
50
51
51
@ SuppressWarnings ("serial" )
52
52
public class SDKDownloader extends JDialog implements PropertyChangeListener {
53
- private static final String REPOSITORY_URL = "http://dl-ssl.google.com/android/repository/" ;
54
- private static final String REPOSITORY_LIST = "repository-11.xml" ;
53
+ // Version 25.3.1 of the SDK tools break the mode, since the android tool
54
+ // no longer works:
55
+ // https://code.google.com/p/android/issues/detail?id=235455
56
+ // as well as removing the ant scripts.
57
+ // https://code.google.com/p/android/issues/detail?id=235410
58
+ // See release notes:
59
+ // https://developer.android.com/studio/releases/sdk-tools.html
60
+ private static final String REPOSITORY_URL = "https://dl.google.com/android/repository/" ;
61
+ private static final String REPOSITORY_LIST = "repository-12.xml" ;
55
62
private static final String ADDON_LIST = "addon.xml" ;
56
63
57
64
// The Android Support Repository does not seem to include the
Original file line number Diff line number Diff line change 50
50
51
51
@ SuppressWarnings ("serial" )
52
52
public class SysImageDownloader extends JDialog implements PropertyChangeListener {
53
- private static final String SYS_IMAGES_URL = "https://dl-ssl .google.com/android/repository/sys-img/android /" ;
53
+ private static final String SYS_IMAGES_URL = "https://dl.google.com/android/repository/sys-img/google_apis /" ;
54
54
private static final String SYS_IMAGES_LIST = "sys-img.xml" ;
55
55
56
- private static final String SYS_IMAGES_WEAR_URL = "https://dl-ssl .google.com/android/repository/sys-img/android-wear/" ;
56
+ private static final String SYS_IMAGES_WEAR_URL = "https://dl.google.com/android/repository/sys-img/android-wear/" ;
57
57
private static final String SYS_IMAGES_WEAR_LIST = "sys-img.xml" ;
58
58
59
59
public static final String SYSTEM_IMAGE_TAG = "google_apis" ;
@@ -115,8 +115,8 @@ protected Object doInBackground() throws Exception {
115
115
if (!tempFolder .exists ()) tempFolder .mkdir ();
116
116
117
117
try {
118
- String repo = wear ? SYS_IMAGES_URL + SYS_IMAGES_WEAR_LIST :
119
- SYS_IMAGES_WEAR_URL + SYS_IMAGES_LIST ;
118
+ String repo = wear ? SYS_IMAGES_WEAR_URL + SYS_IMAGES_WEAR_LIST :
119
+ SYS_IMAGES_URL + SYS_IMAGES_LIST ;
120
120
121
121
UrlHolder downloadUrls = new UrlHolder ();
122
122
getDownloadUrls (downloadUrls , repo , Platform .getName ());
You can’t perform that action at this time.
0 commit comments