Skip to content

Commit

Permalink
Merge pull request #135 from omerjerk/master
Browse files Browse the repository at this point in the history
Download API level 22 SDK by default
  • Loading branch information
codeanticode committed Aug 20, 2015
2 parents 7caa37f + 95fcaf4 commit d223c9d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/processing/mode/android/Manifest.java
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,8 @@ public void setPackageName(String packageName) {

public void setSdkTarget(String version) {
XML usesSdk = xml.getChild("uses-sdk");
usesSdk.setString("android:minSdkVersion", version);
usesSdk.setString("android:minSdkVersion", "15");
usesSdk.setString("android:targetSdkVersion", version);
save();
}

Expand Down
2 changes: 1 addition & 1 deletion src/processing/mode/android/SDKDownloader.java
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public class SDKDownloader extends JFrame implements PropertyChangeListener {
private static final String URL_REPOSITORY_FOLDER = "http://dl-ssl.google.com/android/repository/";
private static final String URL_USB_DRIVER = "https://dl-ssl.google.com//android/repository/latest_usb_driver_windows.zip";

private static final String PLATFORM_API_LEVEL = "10";
private static final String PLATFORM_API_LEVEL = "22";

public static final String PROPERTY_CHANGE_EVENT_TOTAL = "total";
private static final String PROPERTY_CHANGE_EVENT_DOWNLOADED = "downloaded";
Expand Down

0 comments on commit d223c9d

Please sign in to comment.