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 77
88import java .io .IOException ;
99import java .util .ArrayList ;
10- import java .util .Arrays ;
1110
1211
1312public class AVD {
@@ -17,7 +16,7 @@ public class AVD {
1716 static private final String AVD_CREATE_SECONDARY =
1817 "The default Android emulator could not be set up. Make sure<br>" +
1918 "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>" +
2120 "(Between you and me, occasionally, this error is a red herring,<br>" +
2221 "and your sketch may be launching shortly.)" ;
2322
@@ -239,7 +238,8 @@ static public boolean ensureProperAVD(final AndroidSDK sdk) {
239238 }
240239 } catch (final Exception e ) {
241240// 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 );
243243 }
244244 return false ;
245245 }
You can’t perform that action at this time.
0 commit comments