code: protected void waitForInitialDeviceList( final AndroidDebugBridge androidDebugBridge ) throws MojoExecutionException
      {
          if ( ! androidDebugBridge.hasInitialDeviceList() )
          {
              getLog().info( "Waiting for initial device list from the Android Debug Bridge" );
              long limitTime = System.currentTimeMillis() + ADB_TIMEOUT_MS;
              while ( ! androidDebugBridge.hasInitialDeviceList() && ( System.currentTimeMillis() < limitTime ) )
              {
                  try
                  {
                      Thread.sleep( 1000 );
                  }
                  catch ( InterruptedException e )
                  {
                      throw new MojoExecutionException(
                              "Interrupted waiting for initial device list from Android Debug Bridge" );
                  }
              }
              if ( ! androidDebugBridge.hasInitialDeviceList() )
              {
                  getLog().error( "Did not receive initial device list from the Android Debug Bridge." );
              }
          }
      }
docs: Wait for the Android Debug Bridge to return an initial device list.