@@ -45,8 +45,6 @@ public class AndroidRunner implements DeviceListener {
45
45
protected PrintStream sketchErr ;
46
46
protected PrintStream sketchOut ;
47
47
48
- protected boolean showedSlowEmuWarning = false ;
49
-
50
48
public AndroidRunner (AndroidBuild build , RunnerListener listener ) {
51
49
this .build = build ;
52
50
this .listener = listener ;
@@ -98,18 +96,6 @@ public boolean launch(Future<Device> deviceFuture, int comp, boolean emu) {
98
96
// this stopped working with Android SDK tools revision 17
99
97
if (!device .installApp (build , listener )) {
100
98
listener .statusError ("Lost connection with " + devStr + " while installing. Try again." );
101
- if (emu && !showedSlowEmuWarning ) {
102
- showedSlowEmuWarning = true ;
103
- // More detailed message when using the emulator, to following discussion in
104
- // https://code.google.com/p/android/issues/detail?id=104305
105
- Messages .showWarning ("Cannot run the sketch yet..." ,
106
- "This is common when the emulator is booting up for the first time.\n " +
107
- "Just try again once the emulator is ready, or set the\n " +
108
- "ADB_INSTALL_TIMEOUT environmental variable to have a\n " +
109
- "longer timeout, for example 5 minutes or more.\n \n " +
110
- "Once the emulator is running, don't close until you are done\n " +
111
- "working with Processing.\n " );
112
- }
113
99
Devices .killAdbServer (); // see above
114
100
return false ;
115
101
}
0 commit comments