Skip to content

Commit 1530ba2

Browse files
committed
Set both preferences and environment sdk variables
1 parent 56688b9 commit 1530ba2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/processing/mode/android/SDKDownloader.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ protected Object doInBackground() throws Exception {
9898
tempFolder.delete();
9999

100100
Base.getPlatform().setenv("ANDROID_SDK", sdkFolder.getAbsolutePath());
101+
Preferences.set("android.sdk.path", sdkFolder.getAbsolutePath());
101102
androidMode.loadSDK();
102103
} catch (ParserConfigurationException e) {
103104
// TODO Handle exceptions here somehow (ie show error message) and handle at least mkdir() results (above)

0 commit comments

Comments
 (0)