File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/processing/mode/android Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 7
7
8
8
import java .io .IOException ;
9
9
import java .util .ArrayList ;
10
- import java .util .Arrays ;
11
10
12
11
13
12
public class AVD {
@@ -17,7 +16,7 @@ public class AVD {
17
16
static private final String AVD_CREATE_SECONDARY =
18
17
"The default Android emulator could not be set up. Make sure<br>" +
19
18
"that the Android SDK is installed properly, and that the<br>" +
20
- "Android and Google APIs are installed for level " + AndroidBuild . sdkVersion + " .<br>" +
19
+ "system images are installed for level %s .<br>" +
21
20
"(Between you and me, occasionally, this error is a red herring,<br>" +
22
21
"and your sketch may be launching shortly.)" ;
23
22
@@ -239,7 +238,8 @@ static public boolean ensureProperAVD(final AndroidSDK sdk) {
239
238
}
240
239
} catch (final Exception e ) {
241
240
// Base.showWarning("Android Error", AVD_CREATE_ERROR, e);
242
- Base .showWarningTiered ("Android Error" , AVD_CREATE_PRIMARY , AVD_CREATE_SECONDARY , null );
241
+ Base .showWarningTiered ("Android Error" , AVD_CREATE_PRIMARY ,
242
+ String .format (AVD_CREATE_SECONDARY , AndroidBuild .sdkVersion ), null );
243
243
}
244
244
return false ;
245
245
}
You can’t perform that action at this time.
0 commit comments