title: Flutter run on multiple physical devices simultaneously
body: <p><code>flutter run -d &lt;deviceId&gt;</code> allows running the app on a specific device.</p>
  
  <p>Emulators have device id as <code>emulator-5554</code>, <code>emulator-5556</code> and so on. Thus I can specify the emulator to use, using <code>flutter run -d emulator-5554</code></p>
  
  <p>When I connect two physical devices, a phone, and a tablet and run <code>adb devices -l</code> I get
  the same device id for both devices. Thus, Flutter cannot run on both devices simultaneously.</p>
  
  <p><a href="https://i.stack.imgur.com/0ifLd.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/0ifLd.png" alt="deviceIds"></a></p>
  
  <p>As you can see one is a phone LS 5020 and the other is a tablet P702 but the device id is the same.
  The same is found on both Windows 10 and Linux Mint 19.2</p>
  
  <hr>
  
  <p>Is there a way to fix this using any other command to specify the device to use or somehow change the device id?</p>
  
  <p><strong>EDIT:</strong>
  output of <code>flutter devices</code>
  flutter devices</p>
  
  <blockquote>
    <p>1 connected device:</p>
    
    <p>0123456789ABCDEF • 0123456789ABCDEF • android-arm64 • Android 6.0 (API 23)</p>
  </blockquote>
  
  <p>Also, <code>flutter run -d all</code> runs the app on one of these devices</p>
  
  <p>Output of  <code>flutter devices -v</code></p>
  
  <pre><code>[  +44 ms] executing: /home/droid/androidSdkUbuntu/platform-tools/adb devices -l
  [  +13 ms] Exit code 0 from: /home/droid/androidSdkUbuntu/platform-tools/adb devices -l
  [        ] List of devices attached
             0123456789ABCDEF       no permissions (user in plugdev group; are your udev rules wrong?); see [http://developer.android.com/tools/device.html] usb:1-3 transport_id:16
             0123456789ABCDEF       device usb:3-2 product:LS-5020 model:LS_5020 device:LS-5020 transport_id:12
  [  +22 ms] 1 connected device:
  
  [   +3 ms] /home/droid/androidSdkUbuntu/platform-tools/adb -s 0123456789ABCDEF shell getprop
  [  +70 ms] ro.hardware = mt6735
  [        ] ro.build.characteristics = default
  [   +3 ms] 0123456789ABCDEF • 0123456789ABCDEF • android-arm64 • Android 6.0 (API 23)
  </code></pre>