title: Flutter 2: Error connecting to the service protocol: failed to connect to http://127.0.0.1:1039/ #58588
body: <p>I'm experiencing an issue with the Flutter template app when launching it on Flutter 2.0.3.
  I'm getting this output</p>
  <pre><code>Launching lib/main.dart on SM J320H in debug mode...
  Running Gradle task 'assembleDebug'...
  ✓ Built build/app/outputs/flutter-apk/app-debug.apk.
  Installing build/app/outputs/flutter-apk/app.apk...
  Error connecting to the service protocol: failed to connect to http://127.0.0.1:62719/OJaWBfEtnmY=/
  </code></pre>
  <p>I'm launching this app on a real Android device.
  When launching with Flutter 1.22.5 - everything works fine.</p>
  <p>Flutter doctor output:</p>
  <pre><code>Doctor summary (to see all details, run flutter doctor -v):
  [✓] Flutter (Channel stable, 2.0.3, on Mac OS X 10.15.7 19H2 darwin-x64, locale
      en-UA)
  [✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
  [✓] Xcode - develop for iOS and macOS
  [✓] Chrome - develop for the web
  [✓] Android Studio (version 4.1)
  [✓] IntelliJ IDEA Ultimate Edition (version 2020.1.1)
  [✓] VS Code (version 1.54.3)
  [✓] Connected device (2 available)
  
  • No issues found!
  </code></pre>